diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 1c0faa8b3..f35270b79 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20171207' + REVISION = '20171214' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index d44270bc7..f5f9de4e1 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -1395,14 +1395,15 @@ module Google # The purchase token of the originating purchase if this subscription is one of # the following: - # - Re-signup of a cancelled but non-lapsed subscription + # - Re-signup of a canceled but non-lapsed subscription # - Upgrade/downgrade from a previous subscription For example, suppose a user # originally signs up and you receive purchase token X, then the user cancels - # and goes through the resignup flow and you receive purchase token Y. If you - # call this API with purchase token Y, this field will be set to X. If you call - # this API with purchase token X, this field will not be set. If user upgrade - # his subscription after the first resignup. You receive purchase token Z. If - # you call this API with purchase token Z, this field will be set to Y. + # and goes through the resignup flow (before their subscription lapses) and you + # receive purchase token Y, and finally the user upgrades their subscription and + # you receive purchase token Z. If you call this API with purchase token Z, this + # field will be set to Y. If you call this API with purchase token Y, this field + # will be set to X. If you call this API with purchase token X, this field will + # not be set. # Corresponds to the JSON property `linkedPurchaseToken` # @return [String] attr_accessor :linked_purchase_token diff --git a/generated/google/apis/cloudiot_v1beta1.rb b/generated/google/apis/cloudiot_v1beta1.rb index 5d1296946..e52317b6b 100644 --- a/generated/google/apis/cloudiot_v1beta1.rb +++ b/generated/google/apis/cloudiot_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/iot module CloudiotV1beta1 VERSION = 'V1beta1' - REVISION = '20171204' + REVISION = '20171227' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudiot_v1beta1/classes.rb b/generated/google/apis/cloudiot_v1beta1/classes.rb index 9c1adec6c..978bd8d97 100644 --- a/generated/google/apis/cloudiot_v1beta1/classes.rb +++ b/generated/google/apis/cloudiot_v1beta1/classes.rb @@ -708,7 +708,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy include Google::Apis::Core::Hashable @@ -743,7 +743,7 @@ module Google attr_accessor :iam_owned alias_method :iam_owned?, :iam_owned - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -816,7 +816,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` # @return [Google::Apis::CloudiotV1beta1::Policy] attr_accessor :policy diff --git a/generated/google/apis/cloudresourcemanager_v1.rb b/generated/google/apis/cloudresourcemanager_v1.rb index 3b09879c9..70c0599c7 100644 --- a/generated/google/apis/cloudresourcemanager_v1.rb +++ b/generated/google/apis/cloudresourcemanager_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1 VERSION = 'V1' - REVISION = '20171211' + REVISION = '20180103' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudresourcemanager_v1/classes.rb b/generated/google/apis/cloudresourcemanager_v1/classes.rb index a89eb3bef..60f4c36ab 100644 --- a/generated/google/apis/cloudresourcemanager_v1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1/classes.rb @@ -1220,7 +1220,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy include Google::Apis::Core::Hashable @@ -1249,7 +1249,7 @@ module Google # @return [String] attr_accessor :etag - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -1542,7 +1542,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` # @return [Google::Apis::CloudresourcemanagerV1::Policy] attr_accessor :policy diff --git a/generated/google/apis/cloudresourcemanager_v1/service.rb b/generated/google/apis/cloudresourcemanager_v1/service.rb index 3844e7199..a9be68489 100644 --- a/generated/google/apis/cloudresourcemanager_v1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1/service.rb @@ -1007,7 +1007,9 @@ module Google # Returns the IAM access control policy for the specified Project. # Permission is denied if the policy or the resource does not exist. # Authorization requires the Google IAM permission - # `resourcemanager.projects.getIamPolicy` on the project + # `resourcemanager.projects.getIamPolicy` on the project. + # For additional information about resource structure and identification, + # see [Resource Names](/apis/design/resource_names). # @param [String] resource # REQUIRED: The resource for which the policy is being requested. # See the operation documentation for the appropriate value for this field. diff --git a/generated/google/apis/plus_domains_v1/service.rb b/generated/google/apis/plus_domains_v1/service.rb index 6df925841..455d63a58 100644 --- a/generated/google/apis/plus_domains_v1/service.rb +++ b/generated/google/apis/plus_domains_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'plusDomains/v1/') - @batch_path = 'batch/plusDomains/v1' + @batch_path = 'batch' end # Get an activity. diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index e805c1541..c9bb2f408 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20170828' + REVISION = '20171030' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb index 19cf40f73..1d8c3cdfe 100644 --- a/generated/google/apis/storage_v1/service.rb +++ b/generated/google/apis/storage_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'storage/v1/') - @batch_path = 'batch' + @batch_path = 'batch/storage/v1' end # Permanently deletes the ACL entry for the specified entity on the specified diff --git a/generated/google/apis/vision_v1.rb b/generated/google/apis/vision_v1.rb index 071c71cfb..2f237c1b7 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1 VERSION = 'V1' - REVISION = '20171107' + REVISION = '20180103' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index cabb614ea..4c71c5afc 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -703,6 +703,7 @@ module Google # @return [Google::Apis::VisionV1::BoundingPoly] attr_accessor :bounding_poly + # **Deprecated. Use `score` instead.** # The accuracy of the entity detection in an image. # For example, for an image in which the "Eiffel Tower" entity is detected, # this field represents the confidence that there is a tower in the query @@ -884,14 +885,14 @@ module Google end end - # Users describe the type of Google Cloud Vision API tasks to perform over - # images by using *Feature*s. Each Feature indicates a type of image - # detection task to perform. Features encode the Cloud Vision API - # vertical to operate on and the number of top-scoring results to return. + # The type of Google Cloud Vision API detection to perform, and the maximum + # number of results to return for that type. Multiple `Feature` objects can + # be specified in the `features` list. class Feature include Google::Apis::Core::Hashable - # Maximum number of results of this type. + # Maximum number of results of this type. Does not apply to + # `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`. # Corresponds to the JSON property `maxResults` # @return [Fixnum] attr_accessor :max_results @@ -917,14 +918,14 @@ module Google include Google::Apis::Core::Hashable # Image content, represented as a stream of bytes. - # Note: as with all `bytes` fields, protobuffers use a pure binary + # Note: As with all `bytes` fields, protobuffers use a pure binary # representation, whereas JSON representations use base64. # Corresponds to the JSON property `content` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :content - # External image source (Google Cloud Storage image location). + # External image source (Google Cloud Storage or web URL image location). # Corresponds to the JSON property `source` # @return [Google::Apis::VisionV1::ImageSource] attr_accessor :source @@ -997,29 +998,32 @@ module Google end end - # External image source (Google Cloud Storage image location). + # External image source (Google Cloud Storage or web URL image location). class ImageSource include Google::Apis::Core::Hashable - # NOTE: For new code `image_uri` below is preferred. - # Google Cloud Storage image URI, which must be in the following form: - # `gs://bucket_name/object_name` (for details, see + # **Use `image_uri` instead.** + # The Google Cloud Storage URI of the form + # `gs://bucket_name/object_name`. Object versioning is not supported. See # [Google Cloud Storage Request - # URIs](https://cloud.google.com/storage/docs/reference-uris)). - # NOTE: Cloud Storage object versioning is not supported. + # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. # Corresponds to the JSON property `gcsImageUri` # @return [String] attr_accessor :gcs_image_uri - # Image URI which supports: - # 1) Google Cloud Storage image URI, which must be in the following form: - # `gs://bucket_name/object_name` (for details, see + # The URI of the source image. Can be either: + # 1. A Google Cloud Storage URI of the form + # `gs://bucket_name/object_name`. Object versioning is not supported. See # [Google Cloud Storage Request - # URIs](https://cloud.google.com/storage/docs/reference-uris)). - # NOTE: Cloud Storage object versioning is not supported. - # 2) Publicly accessible image HTTP/HTTPS URL. - # This is preferred over the legacy `gcs_image_uri` above. When both - # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes + # URIs](https://cloud.google.com/storage/docs/reference-uris) for more + # info. + # 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from + # HTTP/HTTPS URLs, Google cannot guarantee that the request will be + # completed. Your request may fail if the specified host denies the + # request (e.g. due to request throttling or DOS prevention), or if Google + # throttles requests to the site for abuse prevention. You should not + # depend on externally-hosted images for production applications. + # When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes # precedence. # Corresponds to the JSON property `imageUri` # @return [String] diff --git a/generated/google/apis/vision_v1p1beta1.rb b/generated/google/apis/vision_v1p1beta1.rb index 98d8163be..fbad1d729 100644 --- a/generated/google/apis/vision_v1p1beta1.rb +++ b/generated/google/apis/vision_v1p1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20171107' + REVISION = '20180103' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1p1beta1/classes.rb b/generated/google/apis/vision_v1p1beta1/classes.rb index 2a0373cc0..4866826ae 100644 --- a/generated/google/apis/vision_v1p1beta1/classes.rb +++ b/generated/google/apis/vision_v1p1beta1/classes.rb @@ -656,6 +656,7 @@ module Google # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly] attr_accessor :bounding_poly + # **Deprecated. Use `score` instead.** # The accuracy of the entity detection in an image. # For example, for an image in which the "Eiffel Tower" entity is detected, # this field represents the confidence that there is a tower in the query @@ -864,14 +865,14 @@ module Google end end - # Users describe the type of Google Cloud Vision API tasks to perform over - # images by using *Feature*s. Each Feature indicates a type of image - # detection task to perform. Features encode the Cloud Vision API - # vertical to operate on and the number of top-scoring results to return. + # The type of Google Cloud Vision API detection to perform, and the maximum + # number of results to return for that type. Multiple `Feature` objects can + # be specified in the `features` list. class GoogleCloudVisionV1p1beta1Feature include Google::Apis::Core::Hashable - # Maximum number of results of this type. + # Maximum number of results of this type. Does not apply to + # `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`. # Corresponds to the JSON property `maxResults` # @return [Fixnum] attr_accessor :max_results @@ -905,14 +906,14 @@ module Google include Google::Apis::Core::Hashable # Image content, represented as a stream of bytes. - # Note: as with all `bytes` fields, protobuffers use a pure binary + # Note: As with all `bytes` fields, protobuffers use a pure binary # representation, whereas JSON representations use base64. # Corresponds to the JSON property `content` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] attr_accessor :content - # External image source (Google Cloud Storage image location). + # External image source (Google Cloud Storage or web URL image location). # Corresponds to the JSON property `source` # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageSource] attr_accessor :source @@ -991,29 +992,32 @@ module Google end end - # External image source (Google Cloud Storage image location). + # External image source (Google Cloud Storage or web URL image location). class GoogleCloudVisionV1p1beta1ImageSource include Google::Apis::Core::Hashable - # NOTE: For new code `image_uri` below is preferred. - # Google Cloud Storage image URI, which must be in the following form: - # `gs://bucket_name/object_name` (for details, see + # **Use `image_uri` instead.** + # The Google Cloud Storage URI of the form + # `gs://bucket_name/object_name`. Object versioning is not supported. See # [Google Cloud Storage Request - # URIs](https://cloud.google.com/storage/docs/reference-uris)). - # NOTE: Cloud Storage object versioning is not supported. + # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info. # Corresponds to the JSON property `gcsImageUri` # @return [String] attr_accessor :gcs_image_uri - # Image URI which supports: - # 1) Google Cloud Storage image URI, which must be in the following form: - # `gs://bucket_name/object_name` (for details, see + # The URI of the source image. Can be either: + # 1. A Google Cloud Storage URI of the form + # `gs://bucket_name/object_name`. Object versioning is not supported. See # [Google Cloud Storage Request - # URIs](https://cloud.google.com/storage/docs/reference-uris)). - # NOTE: Cloud Storage object versioning is not supported. - # 2) Publicly accessible image HTTP/HTTPS URL. - # This is preferred over the legacy `gcs_image_uri` above. When both - # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes + # URIs](https://cloud.google.com/storage/docs/reference-uris) for more + # info. + # 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from + # HTTP/HTTPS URLs, Google cannot guarantee that the request will be + # completed. Your request may fail if the specified host denies the + # request (e.g. due to request throttling or DOS prevention), or if Google + # throttles requests to the site for abuse prevention. You should not + # depend on externally-hosted images for production applications. + # When both `gcs_image_uri` and `image_uri` are specified, `image_uri` takes # precedence. # Corresponds to the JSON property `imageUri` # @return [String]