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
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20171207'
REVISION = '20171214'
# View and manage your Google Play Developer account
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 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

View File

@ -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'

View File

@ -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

View File

@ -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'

View File

@ -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

View File

@ -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.

View File

@ -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.

View File

@ -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'

View File

@ -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

View File

@ -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'

View File

@ -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]

View File

@ -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'

View File

@ -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]