Autogenerated update (2019-06-11)

Update:
- analytics_v3
- cloudasset_v1
- cloudasset_v1beta1
- cloudfunctions_v1
- cloudtrace_v2
- dataproc_v1
- dataproc_v1beta2
- dlp_v2
- docs_v1
- serviceconsumermanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- sqladmin_v1beta4
- vault_v1
This commit is contained in:
Google APIs 2019-06-11 00:37:36 +00:00
parent e3dcc3f78c
commit 6ebfeda03a
35 changed files with 295 additions and 117 deletions

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/analytics/
module AnalyticsV3
VERSION = 'V3'
REVISION = '20180730'
REVISION = '20190604'
# View and manage your Google Analytics data
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'

View File

@ -5603,7 +5603,7 @@ module Google
# Set to true to reset the retention period of the user identifier with each new
# event from that user (thus setting the expiration date to current time plus
# retention period).
# Set to false to delete data associated with the user identifer automatically
# Set to false to delete data associated with the user identifier automatically
# after the rentention period.
# This property cannot be set on insert.
# Corresponds to the JSON property `dataRetentionResetOnNewActivity`

View File

@ -1276,7 +1276,7 @@ module Google
execute_or_queue_command(command, &block)
end
# Returns a filters to which the user has access.
# Returns filters to which the user has access.
# @param [String] account_id
# Account ID to retrieve filters for.
# @param [String] filter_id

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
module CloudassetV1
VERSION = 'V1'
REVISION = '20190412'
REVISION = '20190521'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -481,7 +481,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
module CloudassetV1beta1
VERSION = 'V1beta1'
REVISION = '20190412'
REVISION = '20190521'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -480,7 +480,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

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

View File

@ -29,7 +29,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV2
VERSION = 'V2'
REVISION = '20190312'
REVISION = '20190605'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -366,43 +366,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
# Corresponds to the JSON property `status`
# @return [Google::Apis::CloudtraceV2::Status]
attr_accessor :status
@ -552,43 +519,10 @@ module Google
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
# - Simple to use and understand for most users
# - Flexible enough to meet unexpected needs
# # Overview
# The `Status` message contains three pieces of data: error code, error
# message, and error details. The error code should be an enum value of
# google.rpc.Code, but it may accept additional error codes if needed. The
# error message should be a developer-facing English message that helps
# developers *understand* and *resolve* the error. If a localized user-facing
# error message is needed, put the localized message in the error details or
# localize it in the client. The optional error details may contain arbitrary
# information about the error. There is a predefined set of error detail types
# in the package `google.rpc` that can be used for common error conditions.
# # Language mapping
# The `Status` message is the logical representation of the error model, but it
# is not necessarily the actual wire format. When the `Status` message is
# exposed in different client libraries and different wire protocols, it can be
# mapped differently. For example, it will likely be mapped to some exceptions
# in Java, but more likely mapped to some error codes in C.
# # Other uses
# The error model and the `Status` message can be used in a variety of
# environments, either with or without APIs, to provide a
# consistent developer experience across different environments.
# Example uses of this error model include:
# - Partial errors. If a service needs to return partial errors to the client,
# it may embed the `Status` in the normal response to indicate the partial
# errors.
# - Workflow errors. A typical workflow has multiple steps. Each step may
# have a `Status` message for error reporting.
# - Batch operations. If a client uses batch request and batch response, the
# `Status` message should be used directly inside batch response, one for
# each error sub-response.
# - Asynchronous operations. If an API call embeds asynchronous operation
# results in its response, the status of those operations should be
# represented directly using the `Status` message.
# - Logging. If some API errors are stored in logs, the message `Status` could
# be used directly after any stripping needed for security/privacy reasons.
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
# three pieces of data: error code, error message, and error details.
# You can find out more about this error model and how to work with it in the
# [API Design Guide](https://cloud.google.com/apis/design/errors).
class Status
include Google::Apis::Core::Hashable

View File

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

View File

@ -238,6 +238,11 @@ module Google
# @return [Google::Apis::DataprocV1::InstanceGroupConfig]
attr_accessor :secondary_worker_config
# Security related configuration, including Kerberos.
# Corresponds to the JSON property `securityConfig`
# @return [Google::Apis::DataprocV1::SecurityConfig]
attr_accessor :security_config
# Specifies the selection and config of software inside the cluster.
# Corresponds to the JSON property `softwareConfig`
# @return [Google::Apis::DataprocV1::SoftwareConfig]
@ -261,6 +266,7 @@ module Google
@initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions)
@master_config = args[:master_config] if args.key?(:master_config)
@secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
@security_config = args[:security_config] if args.key?(:security_config)
@software_config = args[:software_config] if args.key?(:software_config)
@worker_config = args[:worker_config] if args.key?(:worker_config)
end
@ -1255,6 +1261,120 @@ module Google
end
end
# Specifies Kerberos related configuration.
class KerberosConfig
include Google::Apis::Core::Hashable
# Optional. The admin server (IP or hostname) for the remote trusted realm in a
# cross realm trust relationship.
# Corresponds to the JSON property `crossRealmTrustAdminServer`
# @return [String]
attr_accessor :cross_realm_trust_admin_server
# Optional. The KDC (IP or hostname) for the remote trusted realm in a cross
# realm trust relationship.
# Corresponds to the JSON property `crossRealmTrustKdc`
# @return [String]
attr_accessor :cross_realm_trust_kdc
# Optional. The remote realm the Dataproc on-cluster KDC will trust, should the
# user enable cross realm trust.
# Corresponds to the JSON property `crossRealmTrustRealm`
# @return [String]
attr_accessor :cross_realm_trust_realm
# Optional. The Cloud Storage URI of a KMS encrypted file containing the shared
# password between the on-cluster Kerberos realm and the remote trusted realm,
# in a cross realm trust relationship.
# Corresponds to the JSON property `crossRealmTrustSharedPasswordUri`
# @return [String]
attr_accessor :cross_realm_trust_shared_password_uri
# Optional. Flag to indicate whether to Kerberize the cluster.
# Corresponds to the JSON property `enableKerberos`
# @return [Boolean]
attr_accessor :enable_kerberos
alias_method :enable_kerberos?, :enable_kerberos
# Optional. The Cloud Storage URI of a KMS encrypted file containing the master
# key of the KDC database.
# Corresponds to the JSON property `kdcDbKeyUri`
# @return [String]
attr_accessor :kdc_db_key_uri
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
# password to the user provided key. For the self-signed certificate, this
# password is generated by Dataproc.
# Corresponds to the JSON property `keyPasswordUri`
# @return [String]
attr_accessor :key_password_uri
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
# password to the user provided keystore. For the self-signed certificate, this
# password is generated by Dataproc.
# Corresponds to the JSON property `keystorePasswordUri`
# @return [String]
attr_accessor :keystore_password_uri
# Optional. The Cloud Storage URI of the keystore file used for SSL encryption.
# If not provided, Dataproc will provide a self-signed certificate.
# Corresponds to the JSON property `keystoreUri`
# @return [String]
attr_accessor :keystore_uri
# Required. The uri of the KMS key used to encrypt various sensitive files.
# Corresponds to the JSON property `kmsKeyUri`
# @return [String]
attr_accessor :kms_key_uri
# Required. The Cloud Storage URI of a KMS encrypted file containing the root
# principal password.
# Corresponds to the JSON property `rootPrincipalPasswordUri`
# @return [String]
attr_accessor :root_principal_password_uri
# Optional. The lifetime of the ticket granting ticket, in hours. If not
# specified, or user specifies 0, then default value 10 will be used.
# Corresponds to the JSON property `tgtLifetimeHours`
# @return [Fixnum]
attr_accessor :tgt_lifetime_hours
# Optional. The Cloud Storage URI of a KMS encrypted file containing the
# password to the user provided truststore. For the self-signed certificate,
# this password is generated by Dataproc.
# Corresponds to the JSON property `truststorePasswordUri`
# @return [String]
attr_accessor :truststore_password_uri
# Optional. The Cloud Storage URI of the truststore file used for SSL encryption.
# If not provided, Dataproc will provide a self-signed certificate.
# Corresponds to the JSON property `truststoreUri`
# @return [String]
attr_accessor :truststore_uri
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@cross_realm_trust_admin_server = args[:cross_realm_trust_admin_server] if args.key?(:cross_realm_trust_admin_server)
@cross_realm_trust_kdc = args[:cross_realm_trust_kdc] if args.key?(:cross_realm_trust_kdc)
@cross_realm_trust_realm = args[:cross_realm_trust_realm] if args.key?(:cross_realm_trust_realm)
@cross_realm_trust_shared_password_uri = args[:cross_realm_trust_shared_password_uri] if args.key?(:cross_realm_trust_shared_password_uri)
@enable_kerberos = args[:enable_kerberos] if args.key?(:enable_kerberos)
@kdc_db_key_uri = args[:kdc_db_key_uri] if args.key?(:kdc_db_key_uri)
@key_password_uri = args[:key_password_uri] if args.key?(:key_password_uri)
@keystore_password_uri = args[:keystore_password_uri] if args.key?(:keystore_password_uri)
@keystore_uri = args[:keystore_uri] if args.key?(:keystore_uri)
@kms_key_uri = args[:kms_key_uri] if args.key?(:kms_key_uri)
@root_principal_password_uri = args[:root_principal_password_uri] if args.key?(:root_principal_password_uri)
@tgt_lifetime_hours = args[:tgt_lifetime_hours] if args.key?(:tgt_lifetime_hours)
@truststore_password_uri = args[:truststore_password_uri] if args.key?(:truststore_password_uri)
@truststore_uri = args[:truststore_uri] if args.key?(:truststore_uri)
end
end
# The list of all clusters in a project.
class ListClustersResponse
include Google::Apis::Core::Hashable
@ -1943,6 +2063,25 @@ module Google
end
end
# Security related configuration, including Kerberos.
class SecurityConfig
include Google::Apis::Core::Hashable
# Specifies Kerberos related configuration.
# Corresponds to the JSON property `kerberosConfig`
# @return [Google::Apis::DataprocV1::KerberosConfig]
attr_accessor :kerberos_config
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kerberos_config = args[:kerberos_config] if args.key?(:kerberos_config)
end
end
# Request message for SetIamPolicy method.
class SetIamPolicyRequest
include Google::Apis::Core::Hashable

View File

@ -190,6 +190,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class KerberosConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListClustersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -286,6 +292,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SecurityConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SetIamPolicyRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -438,6 +450,8 @@ module Google
property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
property :security_config, as: 'securityConfig', class: Google::Apis::DataprocV1::SecurityConfig, decorator: Google::Apis::DataprocV1::SecurityConfig::Representation
property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
@ -692,6 +706,26 @@ module Google
end
end
class KerberosConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :cross_realm_trust_admin_server, as: 'crossRealmTrustAdminServer'
property :cross_realm_trust_kdc, as: 'crossRealmTrustKdc'
property :cross_realm_trust_realm, as: 'crossRealmTrustRealm'
property :cross_realm_trust_shared_password_uri, as: 'crossRealmTrustSharedPasswordUri'
property :enable_kerberos, as: 'enableKerberos'
property :kdc_db_key_uri, as: 'kdcDbKeyUri'
property :key_password_uri, as: 'keyPasswordUri'
property :keystore_password_uri, as: 'keystorePasswordUri'
property :keystore_uri, as: 'keystoreUri'
property :kms_key_uri, as: 'kmsKeyUri'
property :root_principal_password_uri, as: 'rootPrincipalPasswordUri'
property :tgt_lifetime_hours, as: 'tgtLifetimeHours'
property :truststore_password_uri, as: 'truststorePasswordUri'
property :truststore_uri, as: 'truststoreUri'
end
end
class ListClustersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -860,6 +894,14 @@ module Google
end
end
class SecurityConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kerberos_config, as: 'kerberosConfig', class: Google::Apis::DataprocV1::KerberosConfig, decorator: Google::Apis::DataprocV1::KerberosConfig::Representation
end
end
class SetIamPolicyRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/dataproc/
module DataprocV1beta2
VERSION = 'V1beta2'
REVISION = '20190511'
REVISION = '20190523'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -185,7 +185,8 @@ module Google
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
# @param [String] page_token
# Optional. The page token, returned by a previous call, to request the next
# page of results.
@ -848,7 +849,8 @@ module Google
# google.com/apis/design/resource_names of the form projects/`project_id`/
# regions/`region`
# @param [Fixnum] page_size
# Optional. The maximum number of results to return in each response.
# Optional. The maximum number of results to return in each response. Must be
# less than or equal to 1000. Defaults to 100.
# @param [String] page_token
# Optional. The page token, returned by a previous call, to request the next
# page of results.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20190604'
REVISION = '20190607'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1912,9 +1912,10 @@ module Google
end
end
# Rule for modifying a CustomInfoType to alter behavior under certain
# circumstances, depending on the specific details of the rule. Not supported
# for the `surrogate_type` custom info type.
# Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
# `CustomInfoType` to alter behavior under certain circumstances, depending
# on the specific details of the rule. Not supported for the `surrogate_type`
# custom infoType.
class GooglePrivacyDlpV2DetectionRule
include Google::Apis::Core::Hashable

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/docs/
module DocsV1
VERSION = 'V1'
REVISION = '20190530'
REVISION = '20190604'
# View and manage your Google Docs documents
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'

View File

@ -4623,8 +4623,6 @@ module Google
end
# A border around a table cell.
# Table cell borders cannot be transparent. To hide a table cell border, make
# its width 0.
class TableCellBorder
include Google::Apis::Core::Hashable
@ -4700,29 +4698,21 @@ module Google
attr_accessor :background_color
# A border around a table cell.
# Table cell borders cannot be transparent. To hide a table cell border, make
# its width 0.
# Corresponds to the JSON property `borderBottom`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_bottom
# A border around a table cell.
# Table cell borders cannot be transparent. To hide a table cell border, make
# its width 0.
# Corresponds to the JSON property `borderLeft`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_left
# A border around a table cell.
# Table cell borders cannot be transparent. To hide a table cell border, make
# its width 0.
# Corresponds to the JSON property `borderRight`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_right
# A border around a table cell.
# Table cell borders cannot be transparent. To hide a table cell border, make
# its width 0.
# Corresponds to the JSON property `borderTop`
# @return [Google::Apis::DocsV1::TableCellBorder]
attr_accessor :border_top

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20190604'
REVISION = '20190607'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2138,7 +2138,6 @@ module Google
# Different APIs can support different monitored resource types. APIs generally
# provide a `list` method that returns the monitored resource descriptors used
# by the API.
# Next ID: 10
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1
VERSION = 'V1'
REVISION = '20190604'
REVISION = '20190607'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2153,7 +2153,6 @@ module Google
# Different APIs can support different monitored resource types. APIs generally
# provide a `list` method that returns the monitored resource descriptors used
# by the API.
# Next ID: 10
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta
VERSION = 'V1beta'
REVISION = '20190604'
REVISION = '20190607'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2093,7 +2093,6 @@ module Google
# Different APIs can support different monitored resource types. APIs generally
# provide a `list` method that returns the monitored resource descriptors used
# by the API.
# Next ID: 10
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable

View File

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

View File

@ -2847,7 +2847,6 @@ module Google
# Different APIs can support different monitored resource types. APIs generally
# provide a `list` method that returns the monitored resource descriptors used
# by the API.
# Next ID: 10
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1
VERSION = 'V1beta1'
REVISION = '20190605'
REVISION = '20190607'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2823,7 +2823,6 @@ module Google
# Different APIs can support different monitored resource types. APIs generally
# provide a `list` method that returns the monitored resource descriptors used
# by the API.
# Next ID: 10
class MonitoredResourceDescriptor
include Google::Apis::Core::Hashable

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/sql/docs/reference/latest
module SqladminV1beta4
VERSION = 'V1beta4'
REVISION = '20190510'
REVISION = '20190607'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1491,9 +1491,10 @@ module Google
# @return [DateTime]
attr_accessor :time_to_retire
# The type of this IP address. A PRIMARY address is an address that can accept
# incoming connections. An OUTGOING address is the source address of connections
# originating from the instance, if supported.
# The type of this IP address. A PRIMARY address is a public address that can
# accept incoming connections. A PRIVATE address is a private address that can
# accept incoming connections. An OUTGOING address is the source address of
# connections originating from the instance, if supported.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@ -1952,6 +1953,11 @@ module Google
# @return [String]
attr_accessor :kind
# The full project ID of the source instance.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
def initialize(**args)
update!(**args)
end
@ -1961,6 +1967,7 @@ module Google
@backup_run_id = args[:backup_run_id] if args.key?(:backup_run_id)
@instance_id = args[:instance_id] if args.key?(:instance_id)
@kind = args[:kind] if args.key?(:kind)
@project = args[:project] if args.key?(:project)
end
end

View File

@ -915,6 +915,7 @@ module Google
property :backup_run_id, :numeric_string => true, as: 'backupRunId'
property :instance_id, as: 'instanceId'
property :kind, as: 'kind'
property :project, as: 'project'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/vault
module VaultV1
VERSION = 'V1'
REVISION = '20190411'
REVISION = '20190610'
# Manage your eDiscovery data
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'

View File

@ -346,6 +346,12 @@ module Google
class DriveOptions
include Google::Apis::Core::Hashable
# Set to true to include shared drive.
# Corresponds to the JSON property `includeSharedDrives`
# @return [Boolean]
attr_accessor :include_shared_drives
alias_method :include_shared_drives?, :include_shared_drives
# Set to true to include Team Drive.
# Corresponds to the JSON property `includeTeamDrives`
# @return [Boolean]
@ -365,6 +371,7 @@ module Google
# Update properties of this object
def update!(**args)
@include_shared_drives = args[:include_shared_drives] if args.key?(:include_shared_drives)
@include_team_drives = args[:include_team_drives] if args.key?(:include_team_drives)
@version_date = args[:version_date] if args.key?(:version_date)
end
@ -663,6 +670,12 @@ module Google
class HeldDriveQuery
include Google::Apis::Core::Hashable
# If true, include files in shared drives in the hold.
# Corresponds to the JSON property `includeSharedDriveFiles`
# @return [Boolean]
attr_accessor :include_shared_drive_files
alias_method :include_shared_drive_files?, :include_shared_drive_files
# If true, include files in Team Drives in the hold.
# Corresponds to the JSON property `includeTeamDriveFiles`
# @return [Boolean]
@ -675,6 +688,7 @@ module Google
# Update properties of this object
def update!(**args)
@include_shared_drive_files = args[:include_shared_drive_files] if args.key?(:include_shared_drive_files)
@include_team_drive_files = args[:include_team_drive_files] if args.key?(:include_team_drive_files)
end
end
@ -1157,6 +1171,14 @@ module Google
# @return [Google::Apis::VaultV1::MailOptions]
attr_accessor :mail_options
# The search method to use. This field is similar to the search_method field
# but is introduced to support shared drives. It supports all
# search method types. In case the search_method is TEAM_DRIVE the response
# of this field will be SHARED_DRIVE only.
# Corresponds to the JSON property `method`
# @return [String]
attr_accessor :method_prop
# Org Unit to search
# Corresponds to the JSON property `orgUnitInfo`
# @return [Google::Apis::VaultV1::OrgUnitInfo]
@ -1167,6 +1189,11 @@ module Google
# @return [String]
attr_accessor :search_method
# Shared drives to search
# Corresponds to the JSON property `sharedDriveInfo`
# @return [Google::Apis::VaultV1::SharedDriveInfo]
attr_accessor :shared_drive_info
# The start time range for the search query. These timestamps are in GMT and
# rounded down to the start of the given date.
# Corresponds to the JSON property `startTime`
@ -1208,8 +1235,10 @@ module Google
@hangouts_chat_info = args[:hangouts_chat_info] if args.key?(:hangouts_chat_info)
@hangouts_chat_options = args[:hangouts_chat_options] if args.key?(:hangouts_chat_options)
@mail_options = args[:mail_options] if args.key?(:mail_options)
@method_prop = args[:method_prop] if args.key?(:method_prop)
@org_unit_info = args[:org_unit_info] if args.key?(:org_unit_info)
@search_method = args[:search_method] if args.key?(:search_method)
@shared_drive_info = args[:shared_drive_info] if args.key?(:shared_drive_info)
@start_time = args[:start_time] if args.key?(:start_time)
@team_drive_info = args[:team_drive_info] if args.key?(:team_drive_info)
@terms = args[:terms] if args.key?(:terms)
@ -1353,6 +1382,26 @@ module Google
end
end
# Shared drives to search
class SharedDriveInfo
include Google::Apis::Core::Hashable
# List of Shared drive ids, as provided by <a
# href="https://developers.google.com/drive">Drive API</a>.
# Corresponds to the JSON property `sharedDriveIds`
# @return [Array<String>]
attr_accessor :shared_drive_ids
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@shared_drive_ids = args[:shared_drive_ids] if args.key?(:shared_drive_ids)
end
end
# The `Status` type defines a logical error model that is suitable for
# different programming environments, including REST APIs and RPC APIs. It is
# used by [gRPC](https://github.com/grpc). The error model is designed to be:

View File

@ -286,6 +286,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SharedDriveInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -409,6 +415,7 @@ module Google
class DriveOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_shared_drives, as: 'includeSharedDrives'
property :include_team_drives, as: 'includeTeamDrives'
property :version_date, as: 'versionDate'
end
@ -507,6 +514,7 @@ module Google
class HeldDriveQuery
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :include_shared_drive_files, as: 'includeSharedDriveFiles'
property :include_team_drive_files, as: 'includeTeamDriveFiles'
end
end
@ -662,9 +670,12 @@ module Google
property :mail_options, as: 'mailOptions', class: Google::Apis::VaultV1::MailOptions, decorator: Google::Apis::VaultV1::MailOptions::Representation
property :method_prop, as: 'method'
property :org_unit_info, as: 'orgUnitInfo', class: Google::Apis::VaultV1::OrgUnitInfo, decorator: Google::Apis::VaultV1::OrgUnitInfo::Representation
property :search_method, as: 'searchMethod'
property :shared_drive_info, as: 'sharedDriveInfo', class: Google::Apis::VaultV1::SharedDriveInfo, decorator: Google::Apis::VaultV1::SharedDriveInfo::Representation
property :start_time, as: 'startTime'
property :team_drive_info, as: 'teamDriveInfo', class: Google::Apis::VaultV1::TeamDriveInfo, decorator: Google::Apis::VaultV1::TeamDriveInfo::Representation
@ -721,6 +732,13 @@ module Google
end
end
class SharedDriveInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :shared_drive_ids, as: 'sharedDriveIds'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation