Autogenerated update (2018-09-05)

Update:
- androidmanagement_v1
- cloudkms_v1
- manufacturers_v1
- pubsub_v1
- toolresults_v1beta3
This commit is contained in:
Google APIs 2018-09-05 00:36:34 +00:00
parent 621013881e
commit be774699ef
15 changed files with 91 additions and 83 deletions

View File

@ -15021,6 +15021,7 @@
"/cloudkms:v1/Policy/rules/rule": rule
"/cloudkms:v1/Policy/version": version
"/cloudkms:v1/PublicKey": public_key
"/cloudkms:v1/PublicKey/algorithm": algorithm
"/cloudkms:v1/PublicKey/pem": pem
"/cloudkms:v1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request
"/cloudkms:v1/Rule": rule

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20180820'
REVISION = '20180829'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -2620,7 +2620,7 @@ module Google
attr_accessor :hardware_status_enabled
alias_method :hardware_status_enabled?, :hardware_status_enabled
# Whether memory info reporting is enabled.
# Whether memory reporting is enabled.
# Corresponds to the JSON property `memoryInfoEnabled`
# @return [Boolean]
attr_accessor :memory_info_enabled

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/kms/
module CloudkmsV1
VERSION = 'V1'
REVISION = '20180823'
REVISION = '20180830'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1013,6 +1013,12 @@ module Google
class PublicKey
include Google::Apis::Core::Hashable
# The Algorithm associated
# with this key.
# Corresponds to the JSON property `algorithm`
# @return [String]
attr_accessor :algorithm
# The public key, encoded in PEM format. For more information, see the
# [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
# [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
@ -1028,6 +1034,7 @@ module Google
# Update properties of this object
def update!(**args)
@algorithm = args[:algorithm] if args.key?(:algorithm)
@pem = args[:pem] if args.key?(:pem)
end
end

View File

@ -454,6 +454,7 @@ module Google
class PublicKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :algorithm, as: 'algorithm'
property :pem, as: 'pem'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/manufacturers/
module ManufacturersV1
VERSION = 'V1'
REVISION = '20180605'
REVISION = '20180903'
# Manage your product listings for Google Manufacturer Center
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'

View File

@ -576,31 +576,11 @@ module Google
# @return [Array<Google::Apis::ManufacturersV1::DestinationStatus>]
attr_accessor :destination_statuses
# Attributes of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116.
# Corresponds to the JSON property `finalAttributes`
# @return [Google::Apis::ManufacturersV1::Attributes]
attr_accessor :final_attributes
# A server-generated list of issues associated with the product.
# Corresponds to the JSON property `issues`
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
attr_accessor :issues
# Names of the attributes of the product deleted manually via the
# Manufacturer Center UI.
# This field is deprecated and will be removed end of July 2018. Please use
# attributes.
# Corresponds to the JSON property `manuallyDeletedAttributes`
# @return [Array<String>]
attr_accessor :manually_deleted_attributes
# Attributes of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116.
# Corresponds to the JSON property `manuallyProvidedAttributes`
# @return [Google::Apis::ManufacturersV1::Attributes]
attr_accessor :manually_provided_attributes
# Name in the format ``target_country`:`content_language`:`product_id``.
# `target_country` - The target country of the product as a CLDR territory
# code (for example, US).
@ -631,12 +611,6 @@ module Google
# @return [String]
attr_accessor :target_country
# Attributes of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116.
# Corresponds to the JSON property `uploadedAttributes`
# @return [Google::Apis::ManufacturersV1::Attributes]
attr_accessor :uploaded_attributes
def initialize(**args)
update!(**args)
end
@ -646,15 +620,11 @@ module Google
@attributes = args[:attributes] if args.key?(:attributes)
@content_language = args[:content_language] if args.key?(:content_language)
@destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
@issues = args[:issues] if args.key?(:issues)
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@product_id = args[:product_id] if args.key?(:product_id)
@target_country = args[:target_country] if args.key?(:target_country)
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
end
end

View File

@ -230,19 +230,12 @@ module Google
property :content_language, as: 'contentLanguage'
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ManufacturersV1::DestinationStatus, decorator: Google::Apis::ManufacturersV1::DestinationStatus::Representation
property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation
collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes'
property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
property :name, as: 'name'
property :parent, as: 'parent'
property :product_id, as: 'productId'
property :target_country, as: 'targetCountry'
property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
end
end

View File

@ -109,9 +109,6 @@ module Google
# @param [Array<String>, String] include
# The information to be included in the response. Only sections listed here
# will be returned.
# If this parameter is not specified, ATTRIBUTES and ISSUES are returned.
# This behavior is temporary and will be removed once all clients are ready
# or at the latest end of July 2018. After that no sections will be returned.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -148,9 +145,6 @@ module Google
# @param [Array<String>, String] include
# The information to be included in the response. Only sections listed here
# will be returned.
# If this parameter is not specified, ATTRIBUTES and ISSUES are returned.
# This behavior is temporary and will be removed once all clients are ready
# or at the latest end of July 2018. After that no sections will be returned.
# @param [Fixnum] page_size
# Maximum number of product statuses to return in the response, used for
# paging.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/pubsub/docs
module PubsubV1
VERSION = 'V1'
REVISION = '20180806'
REVISION = '20180828'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -91,8 +91,8 @@ module Google
end
# Request for the `CreateSnapshot` method.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# changed in
# <b>BETA:</b> This feature is part of a beta release. This API might be changed
# in
# backward-incompatible ways and is not recommended for production use.
# It is not subject to any SLA or deprecation policy.
class CreateSnapshotRequest
@ -194,7 +194,7 @@ module Google
end
# Response for the `ListSnapshots` method.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
class ListSnapshotsResponse
@ -250,7 +250,7 @@ module Google
end
# Response for the `ListTopicSnapshots` method.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
class ListTopicSnapshotsResponse
@ -663,8 +663,8 @@ module Google
end
end
# Request for the `Seek` method.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Request for the `Seek` method. <br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
class SeekRequest
@ -703,7 +703,7 @@ module Google
end
end
#
# Response for the `Seek` method (this response is empty).
class SeekResponse
include Google::Apis::Core::Hashable
@ -771,8 +771,12 @@ module Google
end
end
# A snapshot resource.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# A snapshot resource. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
class Snapshot
@ -856,7 +860,7 @@ module Google
# of acknowledged messages, and thus configures how far back in time a `Seek`
# can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10
# minutes.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# Corresponds to the JSON property `messageRetentionDuration`
@ -881,8 +885,10 @@ module Google
# Indicates whether to retain acknowledged messages. If true, then
# messages are not expunged from the subscription's backlog, even if they are
# acknowledged, until they fall out of the `message_retention_duration`
# window.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# window. This must be true if you would like to
# <a href="/pubsub/docs/replay-overview#seek_to_a_time">Seek to a timestamp</a>.
# <br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# Corresponds to the JSON property `retainAckedMessages`
@ -987,14 +993,18 @@ module Google
end
# Request for the UpdateSnapshot method.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
class UpdateSnapshotRequest
include Google::Apis::Core::Hashable
# A snapshot resource.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# A snapshot resource. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# Corresponds to the JSON property `snapshot`

View File

@ -47,10 +47,15 @@ module Google
@batch_path = 'batch'
end
# Creates a snapshot from the requested subscription.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Creates a snapshot from the requested subscription. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.
# <br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# use. It is not subject to any SLA or deprecation policy.<br><br>
# If the snapshot already exists, returns `ALREADY_EXISTS`.
# If the requested subscription doesn't exist, returns `NOT_FOUND`.
# If the backlog in the subscription is too old -- and the resulting snapshot
@ -67,7 +72,8 @@ module Google
# Optional user-provided name for this snapshot.
# If the name is not provided in the request, the server will assign a random
# name for this snapshot on the same project as the subscription.
# Note that for REST API requests, you must specify a name.
# Note that for REST API requests, you must specify a name. See the
# <a href="/pubsub/docs/admin#resource_names">resource name rules</a>.
# Format is `projects/`project`/snapshots/`snap``.
# @param [Google::Apis::PubsubV1::CreateSnapshotRequest] create_snapshot_request_object
# @param [String] fields
@ -99,8 +105,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Removes an existing snapshot. <br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Removes an existing snapshot. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# When the snapshot is deleted, all messages retained in the snapshot
@ -137,8 +147,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Gets the configuration details of a snapshot.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Gets the configuration details of a snapshot. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# @param [String] snapshot
@ -204,8 +218,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the existing snapshots.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Lists the existing snapshots. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# @param [String] project
@ -246,8 +264,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates an existing snapshot.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Updates an existing snapshot. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# Note that certain properties of a snapshot are not modifiable.
@ -733,8 +755,13 @@ module Google
end
# Seeks an existing subscription to a point in time or to a given snapshot,
# whichever is provided in the request.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# whichever is provided in the request. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot. Note that both the subscription and the snapshot
# must be on the same topic.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# @param [String] subscription
@ -1168,8 +1195,12 @@ module Google
execute_or_queue_command(command, &block)
end
# Lists the names of the snapshots on this topic.<br><br>
# <b>ALPHA:</b> This feature is part of an alpha release. This API might be
# Lists the names of the snapshots on this topic. Snapshots are used in
# <a href="/pubsub/docs/replay-overview">Seek</a> operations, which allow
# you to manage message acknowledgments in bulk. That is, you can set the
# acknowledgment state of messages in an existing subscription to the state
# captured by a snapshot.<br><br>
# <b>BETA:</b> This feature is part of a beta release. This API might be
# changed in backward-incompatible ways and is not recommended for production
# use. It is not subject to any SLA or deprecation policy.
# @param [String] topic

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20180827'
REVISION = '20180903'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -252,9 +252,10 @@ module Google
include Google::Apis::Core::Hashable
# A URL/resource name that uniquely identifies the type of the serialized
# protocol buffer message. The last segment of the URL's path must represent the
# fully qualified name of the type (as in `path/google.protobuf.Duration`). The
# name should be in a canonical form (e.g., leading "." is not accepted).
# protocol buffer message. This string must contain at least one "/" character.
# The last segment of the URL's path must represent the fully qualified name of
# the type (as in `path/google.protobuf.Duration`). The name should be in a
# canonical form (e.g., leading "." is not accepted).
# In practice, teams usually precompile into the binary all types that they
# expect it to use in the context of Any. However, for URLs which use the scheme
# `http`, `https`, or no scheme, one can optionally set up a type server that