Autogenerated update (2018-01-06)

Update:
- androidpublisher_v2
- cloudiot_v1beta1
- cloudresourcemanager_v1
- plus_v1
- vision_v1
- vision_v1p1beta1
This commit is contained in:
Google APIs 2018-01-06 00:35:35 +00:00
parent be05d82feb
commit 35284eed26
14 changed files with 74 additions and 63 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV2 module AndroidpublisherV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20171207' REVISION = '20171214'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1395,14 +1395,15 @@ module Google
# The purchase token of the originating purchase if this subscription is one of # The purchase token of the originating purchase if this subscription is one of
# the following: # 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 # - Upgrade/downgrade from a previous subscription For example, suppose a user
# originally signs up and you receive purchase token X, then the user cancels # 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 # and goes through the resignup flow (before their subscription lapses) and you
# call this API with purchase token Y, this field will be set to X. If you call # receive purchase token Y, and finally the user upgrades their subscription and
# this API with purchase token X, this field will not be set. If user upgrade # you receive purchase token Z. If you call this API with purchase token Z, this
# his subscription after the first resignup. You receive purchase token Z. If # field will be set to Y. If you call this API with purchase token Y, this field
# you call this API with purchase token Z, this field will be set to Y. # 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` # Corresponds to the JSON property `linkedPurchaseToken`
# @return [String] # @return [String]
attr_accessor :linked_purchase_token attr_accessor :linked_purchase_token

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/iot # @see https://cloud.google.com/iot
module CloudiotV1beta1 module CloudiotV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20171204' REVISION = '20171227'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -708,7 +708,7 @@ module Google
# ] # ]
# ` # `
# For a description of IAM and its features, see the # 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 class Policy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -743,7 +743,7 @@ module Google
attr_accessor :iam_owned attr_accessor :iam_owned
alias_method :iam_owned?, :iam_owned alias_method :iam_owned?, :iam_owned
# Version of the `Policy`. The default version is 0. # Deprecated.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -816,7 +816,7 @@ module Google
# ] # ]
# ` # `
# For a description of IAM and its features, see the # 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` # Corresponds to the JSON property `policy`
# @return [Google::Apis::CloudiotV1beta1::Policy] # @return [Google::Apis::CloudiotV1beta1::Policy]
attr_accessor :policy attr_accessor :policy

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/resource-manager # @see https://cloud.google.com/resource-manager
module CloudresourcemanagerV1 module CloudresourcemanagerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171211' REVISION = '20180103'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1220,7 +1220,7 @@ module Google
# ] # ]
# ` # `
# For a description of IAM and its features, see the # 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 class Policy
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1249,7 +1249,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :etag attr_accessor :etag
# Version of the `Policy`. The default version is 0. # Deprecated.
# Corresponds to the JSON property `version` # Corresponds to the JSON property `version`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :version attr_accessor :version
@ -1542,7 +1542,7 @@ module Google
# ] # ]
# ` # `
# For a description of IAM and its features, see the # 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` # Corresponds to the JSON property `policy`
# @return [Google::Apis::CloudresourcemanagerV1::Policy] # @return [Google::Apis::CloudresourcemanagerV1::Policy]
attr_accessor :policy attr_accessor :policy

View File

@ -1007,7 +1007,9 @@ module Google
# Returns the IAM access control policy for the specified Project. # Returns the IAM access control policy for the specified Project.
# Permission is denied if the policy or the resource does not exist. # Permission is denied if the policy or the resource does not exist.
# Authorization requires the Google IAM permission # 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 # @param [String] resource
# REQUIRED: The resource for which the policy is being requested. # REQUIRED: The resource for which the policy is being requested.
# See the operation documentation for the appropriate value for this field. # See the operation documentation for the appropriate value for this field.

View File

@ -50,7 +50,7 @@ module Google
def initialize def initialize
super('https://www.googleapis.com/', 'plusDomains/v1/') super('https://www.googleapis.com/', 'plusDomains/v1/')
@batch_path = 'batch/plusDomains/v1' @batch_path = 'batch'
end end
# Get an activity. # Get an activity.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/api/ # @see https://developers.google.com/+/api/
module PlusV1 module PlusV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20170828' REVISION = '20171030'
# Know the list of people in your circles, your age range, and language # Know the list of people in your circles, your age range, and language
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'

View File

@ -50,7 +50,7 @@ module Google
def initialize def initialize
super('https://www.googleapis.com/', 'storage/v1/') super('https://www.googleapis.com/', 'storage/v1/')
@batch_path = 'batch' @batch_path = 'batch/storage/v1'
end end
# Permanently deletes the ACL entry for the specified entity on the specified # Permanently deletes the ACL entry for the specified entity on the specified

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/ # @see https://cloud.google.com/vision/
module VisionV1 module VisionV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20171107' REVISION = '20180103'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -703,6 +703,7 @@ module Google
# @return [Google::Apis::VisionV1::BoundingPoly] # @return [Google::Apis::VisionV1::BoundingPoly]
attr_accessor :bounding_poly attr_accessor :bounding_poly
# **Deprecated. Use `score` instead.**
# The accuracy of the entity detection in an image. # The accuracy of the entity detection in an image.
# For example, for an image in which the "Eiffel Tower" entity is detected, # 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 # this field represents the confidence that there is a tower in the query
@ -884,14 +885,14 @@ module Google
end end
end end
# Users describe the type of Google Cloud Vision API tasks to perform over # The type of Google Cloud Vision API detection to perform, and the maximum
# images by using *Feature*s. Each Feature indicates a type of image # number of results to return for that type. Multiple `Feature` objects can
# detection task to perform. Features encode the Cloud Vision API # be specified in the `features` list.
# vertical to operate on and the number of top-scoring results to return.
class Feature class Feature
include Google::Apis::Core::Hashable 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` # Corresponds to the JSON property `maxResults`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :max_results attr_accessor :max_results
@ -917,14 +918,14 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Image content, represented as a stream of bytes. # 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. # representation, whereas JSON representations use base64.
# Corresponds to the JSON property `content` # Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
attr_accessor :content 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` # Corresponds to the JSON property `source`
# @return [Google::Apis::VisionV1::ImageSource] # @return [Google::Apis::VisionV1::ImageSource]
attr_accessor :source attr_accessor :source
@ -997,29 +998,32 @@ module Google
end end
end end
# External image source (Google Cloud Storage image location). # External image source (Google Cloud Storage or web URL image location).
class ImageSource class ImageSource
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# NOTE: For new code `image_uri` below is preferred. # **Use `image_uri` instead.**
# Google Cloud Storage image URI, which must be in the following form: # The Google Cloud Storage URI of the form
# `gs://bucket_name/object_name` (for details, see # `gs://bucket_name/object_name`. Object versioning is not supported. See
# [Google Cloud Storage Request # [Google Cloud Storage Request
# URIs](https://cloud.google.com/storage/docs/reference-uris)). # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
# NOTE: Cloud Storage object versioning is not supported.
# Corresponds to the JSON property `gcsImageUri` # Corresponds to the JSON property `gcsImageUri`
# @return [String] # @return [String]
attr_accessor :gcs_image_uri attr_accessor :gcs_image_uri
# Image URI which supports: # The URI of the source image. Can be either:
# 1) Google Cloud Storage image URI, which must be in the following form: # 1. A Google Cloud Storage URI of the form
# `gs://bucket_name/object_name` (for details, see # `gs://bucket_name/object_name`. Object versioning is not supported. See
# [Google Cloud Storage Request # [Google Cloud Storage Request
# URIs](https://cloud.google.com/storage/docs/reference-uris)). # URIs](https://cloud.google.com/storage/docs/reference-uris) for more
# NOTE: Cloud Storage object versioning is not supported. # info.
# 2) Publicly accessible image HTTP/HTTPS URL. # 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from
# This is preferred over the legacy `gcs_image_uri` above. When both # HTTP/HTTPS URLs, Google cannot guarantee that the request will be
# `gcs_image_uri` and `image_uri` are specified, `image_uri` takes # 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. # precedence.
# Corresponds to the JSON property `imageUri` # Corresponds to the JSON property `imageUri`
# @return [String] # @return [String]

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/vision/ # @see https://cloud.google.com/vision/
module VisionV1p1beta1 module VisionV1p1beta1
VERSION = 'V1p1beta1' VERSION = 'V1p1beta1'
REVISION = '20171107' REVISION = '20180103'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -656,6 +656,7 @@ module Google
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly] # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly]
attr_accessor :bounding_poly attr_accessor :bounding_poly
# **Deprecated. Use `score` instead.**
# The accuracy of the entity detection in an image. # The accuracy of the entity detection in an image.
# For example, for an image in which the "Eiffel Tower" entity is detected, # 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 # this field represents the confidence that there is a tower in the query
@ -864,14 +865,14 @@ module Google
end end
end end
# Users describe the type of Google Cloud Vision API tasks to perform over # The type of Google Cloud Vision API detection to perform, and the maximum
# images by using *Feature*s. Each Feature indicates a type of image # number of results to return for that type. Multiple `Feature` objects can
# detection task to perform. Features encode the Cloud Vision API # be specified in the `features` list.
# vertical to operate on and the number of top-scoring results to return.
class GoogleCloudVisionV1p1beta1Feature class GoogleCloudVisionV1p1beta1Feature
include Google::Apis::Core::Hashable 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` # Corresponds to the JSON property `maxResults`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :max_results attr_accessor :max_results
@ -905,14 +906,14 @@ module Google
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Image content, represented as a stream of bytes. # 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. # representation, whereas JSON representations use base64.
# Corresponds to the JSON property `content` # Corresponds to the JSON property `content`
# NOTE: Values are automatically base64 encoded/decoded in the client library. # NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String] # @return [String]
attr_accessor :content 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` # Corresponds to the JSON property `source`
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageSource] # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ImageSource]
attr_accessor :source attr_accessor :source
@ -991,29 +992,32 @@ module Google
end end
end end
# External image source (Google Cloud Storage image location). # External image source (Google Cloud Storage or web URL image location).
class GoogleCloudVisionV1p1beta1ImageSource class GoogleCloudVisionV1p1beta1ImageSource
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# NOTE: For new code `image_uri` below is preferred. # **Use `image_uri` instead.**
# Google Cloud Storage image URI, which must be in the following form: # The Google Cloud Storage URI of the form
# `gs://bucket_name/object_name` (for details, see # `gs://bucket_name/object_name`. Object versioning is not supported. See
# [Google Cloud Storage Request # [Google Cloud Storage Request
# URIs](https://cloud.google.com/storage/docs/reference-uris)). # URIs](https://cloud.google.com/storage/docs/reference-uris) for more info.
# NOTE: Cloud Storage object versioning is not supported.
# Corresponds to the JSON property `gcsImageUri` # Corresponds to the JSON property `gcsImageUri`
# @return [String] # @return [String]
attr_accessor :gcs_image_uri attr_accessor :gcs_image_uri
# Image URI which supports: # The URI of the source image. Can be either:
# 1) Google Cloud Storage image URI, which must be in the following form: # 1. A Google Cloud Storage URI of the form
# `gs://bucket_name/object_name` (for details, see # `gs://bucket_name/object_name`. Object versioning is not supported. See
# [Google Cloud Storage Request # [Google Cloud Storage Request
# URIs](https://cloud.google.com/storage/docs/reference-uris)). # URIs](https://cloud.google.com/storage/docs/reference-uris) for more
# NOTE: Cloud Storage object versioning is not supported. # info.
# 2) Publicly accessible image HTTP/HTTPS URL. # 2. A publicly-accessible image HTTP/HTTPS URL. When fetching images from
# This is preferred over the legacy `gcs_image_uri` above. When both # HTTP/HTTPS URLs, Google cannot guarantee that the request will be
# `gcs_image_uri` and `image_uri` are specified, `image_uri` takes # 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. # precedence.
# Corresponds to the JSON property `imageUri` # Corresponds to the JSON property `imageUri`
# @return [String] # @return [String]