lib/google/cloud/compute/v1/images/rest/client.rb in google-cloud-compute-v1-2.0.0 vs lib/google/cloud/compute/v1/images/rest/client.rb in google-cloud-compute-v1-2.1.0
- old
+ new
@@ -330,11 +330,11 @@
rescue ::Gapic::Rest::Error => e
raise ::Google::Cloud::Error.from_error(e)
end
##
- # Returns the specified image. Gets a list of available images by making a list() request.
+ # Returns the specified image.
#
# @overload get(request, options = nil)
# Pass arguments to `get` via a request object, either of type
# {::Google::Cloud::Compute::V1::GetImageRequest} or an equivalent Hash.
#
@@ -394,11 +394,11 @@
rescue ::Gapic::Rest::Error => e
raise ::Google::Cloud::Error.from_error(e)
end
##
- # Returns the latest image that is part of an image family and is not deprecated.
+ # Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation.
#
# @overload get_from_family(request, options = nil)
# Pass arguments to `get_from_family` via a request object, either of type
# {::Google::Cloud::Compute::V1::GetFromFamilyImageRequest} or an equivalent Hash.
#
@@ -414,11 +414,11 @@
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param family [::String]
# Name of the image family to search for.
# @param project [::String]
- # Project ID for this request.
+ # The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Google::Cloud::Compute::V1::Image]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
#
# @return [::Google::Cloud::Compute::V1::Image]
@@ -992,12 +992,12 @@
# @!attribute [rw] credentials
# Credentials to send with calls. You may provide any of the following types:
# * (`String`) The path to a service account key file in JSON format
# * (`Hash`) A service account key as a Hash
# * (`Google::Auth::Credentials`) A googleauth credentials object
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
# * (`nil`) indicating no credentials
# @return [::Object]
# @!attribute [rw] scope
# The OAuth scopes
# @return [::Array<::String>]