Autogenerated update (2020-05-23)
Update: - calendar_v3 - container_v1beta1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dns_v1 - dns_v1beta2 - dns_v2beta1 - servicemanagement_v1 - youtube_partner_v1
This commit is contained in:
parent
123adc5ac9
commit
9bc58eddcf
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20200428'
|
||||
REVISION = '20200517'
|
||||
|
||||
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
|
|
@ -821,7 +821,7 @@ module Google
|
|||
# - "eventHangout" for Hangouts for consumers (http://hangouts.google.com)
|
||||
# - "eventNamedHangout" for classic Hangouts for G Suite users (http://hangouts.
|
||||
# google.com)
|
||||
# - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
|
||||
# - "hangoutsMeet" for Google Meet (http://meet.google.com)
|
||||
# - "addOn" for 3P conference providers
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200501'
|
||||
REVISION = '20200505'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1008,6 +1008,12 @@ module Google
|
|||
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
|
||||
attr_accessor :desired_database_encryption
|
||||
|
||||
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
||||
# be disabled on the cluster.
|
||||
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
||||
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
||||
attr_accessor :desired_default_snat_status
|
||||
|
||||
# The desired image type for the node pool.
|
||||
# NOTE: Set the "desired_node_pool" field as well.
|
||||
# Corresponds to the JSON property `desiredImageType`
|
||||
|
@ -1164,6 +1170,7 @@ module Google
|
|||
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
||||
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
|
||||
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
||||
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
||||
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
||||
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
||||
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
||||
|
@ -1423,6 +1430,27 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
||||
# be disabled on the cluster.
|
||||
class DefaultSnatStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Disables cluster default sNAT rules.
|
||||
# Corresponds to the JSON property `disabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :disabled
|
||||
alias_method :disabled?, :disabled
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disabled = args[:disabled] if args.key?(:disabled)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration for NodeLocal DNSCache
|
||||
class DnsCacheConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2371,6 +2399,12 @@ module Google
|
|||
class NetworkConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# DefaultSnatStatus contains the desired state of whether default sNAT should
|
||||
# be disabled on the cluster.
|
||||
# Corresponds to the JSON property `defaultSnatStatus`
|
||||
# @return [Google::Apis::ContainerV1beta1::DefaultSnatStatus]
|
||||
attr_accessor :default_snat_status
|
||||
|
||||
# Whether Intra-node visibility is enabled for this cluster.
|
||||
# This makes same node pod to pod traffic visible for VPC network.
|
||||
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
||||
|
@ -2400,6 +2434,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
||||
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||
|
|
|
@ -160,6 +160,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DefaultSnatStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DnsCacheConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -853,6 +859,8 @@ module Google
|
|||
|
||||
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
|
||||
|
||||
property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1beta1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1beta1::DefaultSnatStatus::Representation
|
||||
|
||||
property :desired_image_type, as: 'desiredImageType'
|
||||
property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1beta1::IntraNodeVisibilityConfig::Representation
|
||||
|
||||
|
@ -948,6 +956,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DefaultSnatStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disabled, as: 'disabled'
|
||||
end
|
||||
end
|
||||
|
||||
class DnsCacheConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1203,6 +1218,8 @@ module Google
|
|||
class NetworkConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1beta1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1beta1::DefaultSnatStatus::Representation
|
||||
|
||||
property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
|
||||
property :network, as: 'network'
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20181207'
|
||||
REVISION = '20200512'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -56,14 +56,14 @@ module Google
|
|||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
||||
# log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
|
||||
# fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
|
||||
# ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
|
||||
# ] `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
||||
# com from DATA_WRITE logging.
|
||||
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
|
||||
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
||||
# ] ` ] ` ] `
|
||||
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
|
||||
# example.com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -98,9 +98,9 @@ module Google
|
|||
|
||||
# Provides the configuration for logging a type of permissions. Example:
|
||||
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
||||
# user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
|
||||
# com from DATA_READ logging.
|
||||
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
||||
# example.com from DATA_READ logging.
|
||||
class AuditLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -110,6 +110,12 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `ignoreChildExemptions`
|
||||
# @return [Boolean]
|
||||
attr_accessor :ignore_child_exemptions
|
||||
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
||||
|
||||
# The log type that this config enables.
|
||||
# Corresponds to the JSON property `logType`
|
||||
# @return [String]
|
||||
|
@ -122,6 +128,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
||||
@log_type = args[:log_type] if args.key?(:log_type)
|
||||
end
|
||||
end
|
||||
|
@ -174,9 +181,26 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence" description: "Determines whether the request
|
||||
# has a user account" expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||
# documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit" description: "Determines if a summary is less than
|
||||
# 100 chars" expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner" description: "Determines if requestor is the
|
||||
# document owner" expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents" description: "Determine whether the document should
|
||||
# be publicly visible" expression: "document.type != 'private' && document.type !
|
||||
# = 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string" description: "Create a notification string with a
|
||||
# timestamp." expression: "'New message received at ' + string(document.
|
||||
# create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service documentation
|
||||
# for additional information.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Expr]
|
||||
attr_accessor :condition
|
||||
|
@ -188,13 +212,29 @@ module Google
|
|||
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
||||
# authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google account.
|
||||
# For example, `alice@gmail.com` .
|
||||
# For example, `alice@example.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group. For
|
||||
# example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the users
|
||||
# of that domain. For example, `google.com` or `example.com`.
|
||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a user that has been recently deleted. For example, `
|
||||
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
||||
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
||||
# the binding.
|
||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||
# unique identifier) representing a service account that has been recently
|
||||
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
||||
# 123456789012345678901`. If the service account is undeleted, this value
|
||||
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
||||
# retains the role in the binding.
|
||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a Google group that has been recently deleted. For
|
||||
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
||||
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
||||
# retains the role in the binding.
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
@ -272,24 +312,34 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CompositeTypeLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]`0,61`
|
||||
# [a-z0-9])?.
|
||||
# Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]`0,
|
||||
# 61`[a-z0-9])?`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -403,12 +453,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sys
|
||||
|
||||
# DEPRECATED. Use 'values' instead.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
||||
# The objects of the condition.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
@ -423,7 +468,6 @@ module Google
|
|||
@op = args[:op] if args.key?(:op)
|
||||
@svc = args[:svc] if args.key?(:svc)
|
||||
@sys = args[:sys] if args.key?(:sys)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
@values = args[:values] if args.key?(:values)
|
||||
end
|
||||
end
|
||||
|
@ -533,14 +577,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Provides a fingerprint to use in requests to modify a deployment, such as
|
||||
# update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
|
||||
# generated value that must be provided with update(), stop(), and cancelPreview(
|
||||
# ) requests to perform optimistic locking. This ensures optimistic concurrency
|
||||
# so that only one request happens at a time.
|
||||
# Provides a fingerprint to use in requests to modify a deployment, such as `
|
||||
# update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
|
||||
# randomly generated value that must be provided with `update()`, `stop()`, and `
|
||||
# cancelPreview()` requests to perform optimistic locking. This ensures
|
||||
# optimistic concurrency so that only one request happens at a time.
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify data. To get the latest fingerprint value, perform a
|
||||
# get() request to a deployment.
|
||||
# every request to modify data. To get the latest fingerprint value, perform a `
|
||||
# get()` request to a deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -558,41 +602,52 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Output only. URL of the manifest representing the last manifest that was
|
||||
# successfully deployed.
|
||||
# successfully deployed. If no manifest has been successfully deployed, this
|
||||
# field will be absent.
|
||||
# Corresponds to the JSON property `manifest`
|
||||
# @return [String]
|
||||
attr_accessor :manifest
|
||||
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
attr_accessor :operation
|
||||
|
||||
# Output only. Map of outputs from the last manifest that deployed successfully.
|
||||
# Output only. List of outputs from the last manifest that deployed successfully.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry>]
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputEntry>]
|
||||
attr_accessor :outputs
|
||||
|
||||
# Output only. Server defined URL for the resource.
|
||||
|
@ -663,16 +718,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DeploymentOutputsEntry
|
||||
# Output object for Deployments
|
||||
class DeploymentOutputEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Key of the output
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
#
|
||||
# Value of the label
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
@ -706,9 +761,9 @@ module Google
|
|||
|
||||
# Output only. Map of labels; provided by the client when the resource is
|
||||
# created or updated. Specifically: Label keys must be between 1 and 63
|
||||
# characters long and must conform to the following regular expression: [a-z]([-
|
||||
# a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
|
||||
# must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# characters long and must conform to the following regular expression: `[a-z]([-
|
||||
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
||||
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentUpdateLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
@ -761,15 +816,15 @@ module Google
|
|||
class DeploymentsCancelPreviewRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
|
||||
# randomly generated value that must be provided in cancelPreview() requests to
|
||||
# perform optimistic locking. This ensures optimistic concurrency so that the
|
||||
# Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a
|
||||
# randomly generated value that must be provided in `cancelPreview()` requests
|
||||
# to perform optimistic locking. This ensures optimistic concurrency so that the
|
||||
# deployment does not have conflicting requests (e.g. if someone attempts to
|
||||
# make a new update request while another user attempts to cancel a preview,
|
||||
# this would prevent one of the requests).
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify a deployment. To get the latest fingerprint value,
|
||||
# perform a get() request on the deployment.
|
||||
# perform a `get()` request on the deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -815,15 +870,15 @@ module Google
|
|||
class DeploymentsStopRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies a fingerprint for stop() requests. A fingerprint is a randomly
|
||||
# generated value that must be provided in stop() requests to perform optimistic
|
||||
# locking. This ensures optimistic concurrency so that the deployment does not
|
||||
# have conflicting requests (e.g. if someone attempts to make a new update
|
||||
# request while another user attempts to stop an ongoing update request, this
|
||||
# would prevent a collision).
|
||||
# Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly
|
||||
# generated value that must be provided in `stop()` requests to perform
|
||||
# optimistic locking. This ensures optimistic concurrency so that the deployment
|
||||
# does not have conflicting requests (e.g. if someone attempts to make a new
|
||||
# update request while another user attempts to stop an ongoing update request,
|
||||
# this would prevent a collision).
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify a deployment. To get the latest fingerprint value,
|
||||
# perform a get() request on the deployment.
|
||||
# perform a `get()` request on the deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -865,33 +920,48 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence" description: "Determines whether the request
|
||||
# has a user account" expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||
# documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit" description: "Determines if a summary is less than
|
||||
# 100 chars" expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner" description: "Determines if requestor is the
|
||||
# document owner" expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents" description: "Determine whether the document should
|
||||
# be publicly visible" expression: "document.type != 'private' && document.type !
|
||||
# = 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string" description: "Create a notification string with a
|
||||
# timestamp." expression: "'New message received at ' + string(document.
|
||||
# create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service documentation
|
||||
# for additional information.
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Optional. Description of the expression. This is a longer text which describes
|
||||
# the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in Common Expression Language syntax.
|
||||
# The application context of the containing message determines which well-known
|
||||
# feature set of CEL is supported.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Optional. String indicating the location of the expression for error reporting,
|
||||
# e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing its
|
||||
# purpose. This can be used e.g. in UIs which allow to enter the expression.
|
||||
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
||||
# This can be used e.g. in UIs which allow to enter the expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
# @return [String]
|
||||
attr_accessor :title
|
||||
|
@ -926,23 +996,36 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
|
||||
# members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a `
|
||||
# condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the [IAM documentation]
|
||||
# (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# **JSON example:**
|
||||
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
|
||||
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
||||
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
||||
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
||||
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
||||
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
||||
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
|
||||
# **YAML example:**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
||||
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
||||
# access description: Does not grant access after Sep 2020 expression: request.
|
||||
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
||||
# For a description of IAM and its features, see the [IAM documentation](https://
|
||||
# cloud.google.com/iam/docs/).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Policy]
|
||||
attr_accessor :policy
|
||||
|
@ -1043,10 +1126,8 @@ module Google
|
|||
# a representation of IAMContext.principal even if a token or authority selector
|
||||
# is present; or - "" (empty string), resulting in a counter with no fields.
|
||||
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
||||
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
||||
# of IAMContext.principal]`
|
||||
# At this time we do not support multiple field names (though this may be
|
||||
# supported in the future).
|
||||
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
||||
# IAMContext.principal]`
|
||||
# Corresponds to the JSON property `counter`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptions]
|
||||
attr_accessor :counter
|
||||
|
@ -1105,13 +1186,16 @@ module Google
|
|||
# a representation of IAMContext.principal even if a token or authority selector
|
||||
# is present; or - "" (empty string), resulting in a counter with no fields.
|
||||
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
||||
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
||||
# of IAMContext.principal]`
|
||||
# At this time we do not support multiple field names (though this may be
|
||||
# supported in the future).
|
||||
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
||||
# IAMContext.principal]`
|
||||
class LogConfigCounterOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Custom fields.
|
||||
# Corresponds to the JSON property `customFields`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField>]
|
||||
attr_accessor :custom_fields
|
||||
|
||||
# The field value to attribute.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
|
@ -1128,21 +1212,45 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
end
|
||||
end
|
||||
|
||||
# Custom fields. These can be used to create a counter with arbitrary field/
|
||||
# value pairs. See: go/rpcsp-custom-fields.
|
||||
class LogConfigCounterOptionsCustomField
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Name is the field name.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Value is the field value. It is important that in contrast to the
|
||||
# CounterOptions.field, the value here is a constant that is not derived from
|
||||
# the IAMContext.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
class LogConfigDataAccessOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
||||
# is relevant only in the LocalIAM implementation, for now.
|
||||
# NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
|
||||
# work is being done to satisfy the requirements of go/345. Currently, setting
|
||||
# LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
|
||||
# active work being done to support it (b/115874152).
|
||||
#
|
||||
# Corresponds to the JSON property `logMode`
|
||||
# @return [String]
|
||||
attr_accessor :log_mode
|
||||
|
@ -1291,11 +1399,21 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
class Operation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1329,19 +1447,19 @@ module Google
|
|||
attr_accessor :error
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# message that was returned, such as NOT FOUND.
|
||||
# message that was returned, such as `NOT FOUND`.
|
||||
# Corresponds to the JSON property `httpErrorMessage`
|
||||
# @return [String]
|
||||
attr_accessor :http_error_message
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# status code that was returned. For example, a 404 means the resource was not
|
||||
# status code that was returned. For example, a `404` means the resource was not
|
||||
# found.
|
||||
# Corresponds to the JSON property `httpErrorStatusCode`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :http_error_status_code
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# [Output Only] The unique identifier for the operation. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -1353,19 +1471,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :insert_time
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||
# [Output Only] Type of the resource. Always `compute#operation` for Operation
|
||||
# resources.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] Name of the resource.
|
||||
# [Output Only] Name of the operation.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# [Output Only] The type of operation, such as insert, update, or delete, and so
|
||||
# on.
|
||||
# [Output Only] The type of operation, such as `insert`, `update`, or `delete`,
|
||||
# and so on.
|
||||
# Corresponds to the JSON property `operationType`
|
||||
# @return [String]
|
||||
attr_accessor :operation_type
|
||||
|
@ -1379,9 +1497,7 @@ module Google
|
|||
attr_accessor :progress
|
||||
|
||||
# [Output Only] The URL of the region where the operation resides. Only
|
||||
# available when performing regional operations. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# applicable when performing regional operations.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
@ -1391,14 +1507,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Server-defined URL for this resource with the resource id.
|
||||
# Corresponds to the JSON property `selfLinkWithId`
|
||||
# @return [String]
|
||||
attr_accessor :self_link_with_id
|
||||
|
||||
# [Output Only] The time that this operation was started by the server. This
|
||||
# value is in RFC3339 text format.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# [Output Only] The status of the operation, which can be one of the following:
|
||||
# PENDING, RUNNING, or DONE.
|
||||
# [Output Only] The status of the operation, which can be one of the following: `
|
||||
# PENDING`, `RUNNING`, or `DONE`.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
@ -1422,7 +1543,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :target_link
|
||||
|
||||
# [Output Only] User who requested the operation, for example: user@example.com.
|
||||
# [Output Only] User who requested the operation, for example: `user@example.com`
|
||||
# .
|
||||
# Corresponds to the JSON property `user`
|
||||
# @return [String]
|
||||
attr_accessor :user
|
||||
|
@ -1433,9 +1555,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Warning>]
|
||||
attr_accessor :warnings
|
||||
|
||||
# [Output Only] The URL of the zone where the operation resides. Only available
|
||||
# when performing per-zone operations. You must specify this field as part of
|
||||
# the HTTP request URL. It is not settable as a field in the request body.
|
||||
# [Output Only] The URL of the zone where the operation resides. Only applicable
|
||||
# when performing per-zone operations.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
@ -1461,6 +1582,7 @@ module Google
|
|||
@progress = args[:progress] if args.key?(:progress)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@status_message = args[:status_message] if args.key?(:status_message)
|
||||
|
@ -1653,23 +1775,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
|
||||
# members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a `
|
||||
# condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the [IAM documentation]
|
||||
# (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# **JSON example:**
|
||||
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
|
||||
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
||||
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
||||
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
||||
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
||||
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
||||
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
|
||||
# **YAML example:**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
||||
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
||||
# access description: Does not grant access after Sep 2020 expression: request.
|
||||
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
||||
# For a description of IAM and its features, see the [IAM documentation](https://
|
||||
# cloud.google.com/iam/docs/).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1678,8 +1813,9 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`. `bindings` with no members will
|
||||
# result in an error.
|
||||
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
||||
# condition` that determines how and when the `bindings` are applied. Each of
|
||||
# the `bindings` must contain at least one member.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
@ -1691,8 +1827,10 @@ module Google
|
|||
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||
# applied to the same version of the policy.
|
||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
||||
# policy is overwritten blindly.
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||
# conditions in the version `3` policy are lost.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -1715,7 +1853,24 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Deprecated.
|
||||
# Specifies the format of the policy.
|
||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
|
||||
# rejected.
|
||||
# Any operation that affects conditional role bindings must specify version `3`.
|
||||
# This requirement applies to the following operations:
|
||||
# * Getting a policy that includes a conditional role binding * Adding a
|
||||
# conditional role binding to a policy * Changing a conditional role binding in
|
||||
# a policy * Removing any role binding, with or without a condition, from a
|
||||
# policy that includes conditions
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||
# conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the [
|
||||
# IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -1834,8 +1989,8 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :runtime_policies
|
||||
|
||||
# Output only. The type of the resource, for example compute.v1.instance, or
|
||||
# cloudfunctions.v1beta1.function.
|
||||
# Output only. The type of the resource, for example `compute.v1.instance`, or `
|
||||
# cloudfunctions.v1beta1.function`.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -1994,7 +2149,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :final_properties
|
||||
|
||||
# Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
|
||||
# Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
|
||||
# Corresponds to the JSON property `intent`
|
||||
# @return [String]
|
||||
attr_accessor :intent
|
||||
|
@ -2406,9 +2561,9 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
@ -2418,11 +2573,21 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -2465,7 +2630,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :documentation_link
|
||||
|
||||
# Output only. Type of the output. Always deploymentManager#TypeInfo for
|
||||
# Output only. Type of the output. Always `deploymentManager#TypeInfo` for
|
||||
# TypeInfo.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
|
@ -2575,6 +2740,16 @@ module Google
|
|||
# @return [Google::Apis::DeploymentmanagerAlpha::Credential]
|
||||
attr_accessor :credential
|
||||
|
||||
# List of up to 2 custom certificate authority roots to use for TLS
|
||||
# authentication when making calls on behalf of this type provider. If set, TLS
|
||||
# authentication will exclusively use these roots instead of relying on publicly
|
||||
# trusted certificate authorities when validating TLS certificate authenticity.
|
||||
# The certificates must be in base64-encoded PEM format. The maximum size of
|
||||
# each certificate must not exceed 10KB.
|
||||
# Corresponds to the JSON property `customCertificateAuthorityRoots`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :custom_certificate_authority_roots
|
||||
|
||||
# An optional textual description of the resource; provided by the client when
|
||||
# the resource is created.
|
||||
# Corresponds to the JSON property `description`
|
||||
|
@ -2598,28 +2773,38 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::TypeProviderLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -2642,6 +2827,7 @@ module Google
|
|||
def update!(**args)
|
||||
@collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
|
||||
@credential = args[:credential] if args.key?(:credential)
|
||||
@custom_certificate_authority_roots = args[:custom_certificate_authority_roots] if args.key?(:custom_certificate_authority_roots)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
|
|
|
@ -118,7 +118,7 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeploymentOutputsEntry
|
||||
class DeploymentOutputEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
|
@ -202,6 +202,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfigCounterOptionsCustomField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfigDataAccessOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -459,6 +465,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
@ -541,7 +548,6 @@ module Google
|
|||
property :op, as: 'op'
|
||||
property :svc, as: 'svc'
|
||||
property :sys, as: 'sys'
|
||||
property :value, as: 'value'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
@ -592,7 +598,7 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerAlpha::Operation, decorator: Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry, decorator: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry::Representation
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputEntry, decorator: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputEntry::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :target, as: 'target', class: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration, decorator: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration::Representation
|
||||
|
@ -611,7 +617,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DeploymentOutputsEntry
|
||||
class DeploymentOutputEntry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
|
@ -733,11 +739,21 @@ module Google
|
|||
class LogConfigCounterOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerAlpha::LogConfigCounterOptionsCustomField::Representation
|
||||
|
||||
property :field, as: 'field'
|
||||
property :metric, as: 'metric'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfigCounterOptionsCustomField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfigDataAccessOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -800,6 +816,7 @@ module Google
|
|||
property :progress, as: 'progress'
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :self_link_with_id, as: 'selfLinkWithId'
|
||||
property :start_time, as: 'startTime'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
|
@ -1121,6 +1138,7 @@ module Google
|
|||
|
||||
property :credential, as: 'credential', class: Google::Apis::DeploymentmanagerAlpha::Credential, decorator: Google::Apis::DeploymentmanagerAlpha::Credential::Representation
|
||||
|
||||
collection :custom_certificate_authority_roots, as: 'customCertificateAuthorityRoots'
|
||||
property :description, as: 'description'
|
||||
property :descriptor_url, as: 'descriptorUrl'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
|
|
|
@ -167,36 +167,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -216,7 +219,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_composite_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/compositeTypes', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::CompositeTypesListResponse
|
||||
|
@ -225,13 +228,14 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a composite type. This method supports patch semantics.
|
||||
# Patches a composite type.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] composite_type
|
||||
|
@ -429,6 +433,8 @@ module Google
|
|||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Fixnum] options_requested_policy_version
|
||||
# Requested IAM Policy version.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -448,12 +454,13 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Policy::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
|
@ -471,8 +478,8 @@ module Google
|
|||
# If set to true, creates a deployment and creates "shell" resources but does
|
||||
# not actually instantiate these resources. This allows you to preview what your
|
||||
# deployment looks like. After previewing a deployment, you can deploy your
|
||||
# resources by making a request with the update() method or you can use the
|
||||
# cancelPreview() method to cancel the preview altogether. Note that the
|
||||
# resources by making a request with the `update()` method or you can use the `
|
||||
# cancelPreview()` method to cancel the preview altogether. Note that the
|
||||
# deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# @param [String] fields
|
||||
|
@ -516,36 +523,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -565,7 +575,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/deployments', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::DeploymentsListResponse
|
||||
|
@ -574,14 +584,15 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a deployment and all of the resources described by the deployment
|
||||
# manifest. This method supports patch semantics.
|
||||
# Patches a deployment and all of the resources described by the deployment
|
||||
# manifest.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] deployment
|
||||
|
@ -596,11 +607,12 @@ module Google
|
|||
# resources but does not actually alter or instantiate these resources. This
|
||||
# allows you to preview what your deployment will look like. You can use this
|
||||
# intent to preview how an update would affect your deployment. You must provide
|
||||
# a target.config with a configuration if this is set to true. After previewing
|
||||
# a deployment, you can deploy your resources by making a request with the
|
||||
# update() or you can cancelPreview() to remove the preview altogether. Note
|
||||
# that the deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# a `target.config` with a configuration if this is set to true. After
|
||||
# previewing a deployment, you can deploy your resources by making a request
|
||||
# with the `update()` or you can `cancelPreview()` to remove the preview
|
||||
# altogether. Note that the deployment will still exist after you cancel the
|
||||
# preview and you must separately delete this deployment if you want to remove
|
||||
# it.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -772,11 +784,12 @@ module Google
|
|||
# resources but does not actually alter or instantiate these resources. This
|
||||
# allows you to preview what your deployment will look like. You can use this
|
||||
# intent to preview how an update would affect your deployment. You must provide
|
||||
# a target.config with a configuration if this is set to true. After previewing
|
||||
# a deployment, you can deploy your resources by making a request with the
|
||||
# update() or you can cancelPreview() to remove the preview altogether. Note
|
||||
# that the deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# a `target.config` with a configuration if this is set to true. After
|
||||
# previewing a deployment, you can deploy your resources by making a request
|
||||
# with the `update()` or you can `cancelPreview()` to remove the preview
|
||||
# altogether. Note that the deployment will still exist after you cancel the
|
||||
# preview and you must separately delete this deployment if you want to remove
|
||||
# it.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -861,36 +874,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -910,7 +926,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::ManifestsListResponse
|
||||
|
@ -920,6 +936,7 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
|
@ -969,36 +986,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1018,7 +1038,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/operations', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::OperationsListResponse
|
||||
|
@ -1027,6 +1047,7 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
|
@ -1081,36 +1102,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1130,7 +1154,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::ResourcesListResponse
|
||||
|
@ -1140,6 +1164,7 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
|
@ -1300,36 +1325,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1349,7 +1377,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_type_providers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/typeProviders', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListResponse
|
||||
|
@ -1358,6 +1386,7 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
|
@ -1373,36 +1402,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1422,7 +1454,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_type_provider_types(project, type_provider, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/typeProviders/{typeProvider}/types', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypeProvidersListTypesResponse
|
||||
|
@ -1432,13 +1464,14 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a type provider. This method supports patch semantics.
|
||||
# Patches a type provider.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] type_provider
|
||||
|
@ -1516,42 +1549,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a type and all of the resources in the type.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] type
|
||||
# The name of the type for this request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_type(project, type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, '{project}/global/types/{type}', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['type'] = type unless type.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets information about a specific type.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
|
@ -1588,42 +1585,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a type.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [Google::Apis::DeploymentmanagerAlpha::Type] type_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_type(project, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/global/types', options)
|
||||
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
|
||||
command.request_object = type_object
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists all resource types for Deployment Manager.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
|
@ -1631,36 +1592,39 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [Boolean] return_partial_success
|
||||
# Opt-in for partial success behavior which provides partial results in case of
|
||||
# failure. The default value is false and the logic is the same as today.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1680,7 +1644,7 @@ module Google
|
|||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/types', options)
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::TypesListResponse::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::TypesListResponse
|
||||
|
@ -1689,84 +1653,7 @@ module Google
|
|||
command.query['maxResults'] = max_results unless max_results.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a type. This method supports patch semantics.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] type
|
||||
# The name of the type for this request.
|
||||
# @param [Google::Apis::DeploymentmanagerAlpha::Type] type_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/global/types/{type}', options)
|
||||
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
|
||||
command.request_object = type_object
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['type'] = type unless type.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a type.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] type
|
||||
# The name of the type for this request.
|
||||
# @param [Google::Apis::DeploymentmanagerAlpha::Type] type_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DeploymentmanagerAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_type(project, type, type_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, '{project}/global/types/{type}', options)
|
||||
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Type::Representation
|
||||
command.request_object = type_object
|
||||
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['type'] = type unless type.nil?
|
||||
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181207'
|
||||
REVISION = '20200512'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -31,14 +31,14 @@ module Google
|
|||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
||||
# log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
|
||||
# fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
|
||||
# ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
|
||||
# ] `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
||||
# com from DATA_WRITE logging.
|
||||
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
|
||||
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
||||
# ] ` ] ` ] `
|
||||
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
|
||||
# example.com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -73,9 +73,9 @@ module Google
|
|||
|
||||
# Provides the configuration for logging a type of permissions. Example:
|
||||
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
||||
# user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
|
||||
# com from DATA_READ logging.
|
||||
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
||||
# example.com from DATA_READ logging.
|
||||
class AuditLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -85,6 +85,12 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `ignoreChildExemptions`
|
||||
# @return [Boolean]
|
||||
attr_accessor :ignore_child_exemptions
|
||||
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
||||
|
||||
# The log type that this config enables.
|
||||
# Corresponds to the JSON property `logType`
|
||||
# @return [String]
|
||||
|
@ -97,6 +103,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
||||
@log_type = args[:log_type] if args.key?(:log_type)
|
||||
end
|
||||
end
|
||||
|
@ -124,9 +131,26 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence" description: "Determines whether the request
|
||||
# has a user account" expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||
# documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit" description: "Determines if a summary is less than
|
||||
# 100 chars" expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner" description: "Determines if requestor is the
|
||||
# document owner" expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents" description: "Determine whether the document should
|
||||
# be publicly visible" expression: "document.type != 'private' && document.type !
|
||||
# = 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string" description: "Create a notification string with a
|
||||
# timestamp." expression: "'New message received at ' + string(document.
|
||||
# create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service documentation
|
||||
# for additional information.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::DeploymentmanagerV2::Expr]
|
||||
attr_accessor :condition
|
||||
|
@ -138,13 +162,29 @@ module Google
|
|||
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
||||
# authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google account.
|
||||
# For example, `alice@gmail.com` .
|
||||
# For example, `alice@example.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group. For
|
||||
# example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the users
|
||||
# of that domain. For example, `google.com` or `example.com`.
|
||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a user that has been recently deleted. For example, `
|
||||
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
||||
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
||||
# the binding.
|
||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||
# unique identifier) representing a service account that has been recently
|
||||
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
||||
# 123456789012345678901`. If the service account is undeleted, this value
|
||||
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
||||
# retains the role in the binding.
|
||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a Google group that has been recently deleted. For
|
||||
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
||||
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
||||
# retains the role in the binding.
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
@ -192,12 +232,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sys
|
||||
|
||||
# DEPRECATED. Use 'values' instead.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
||||
# The objects of the condition.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
@ -212,7 +247,6 @@ module Google
|
|||
@op = args[:op] if args.key?(:op)
|
||||
@svc = args[:svc] if args.key?(:svc)
|
||||
@sys = args[:sys] if args.key?(:sys)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
@values = args[:values] if args.key?(:values)
|
||||
end
|
||||
end
|
||||
|
@ -245,14 +279,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Provides a fingerprint to use in requests to modify a deployment, such as
|
||||
# update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
|
||||
# generated value that must be provided with update(), stop(), and cancelPreview(
|
||||
# ) requests to perform optimistic locking. This ensures optimistic concurrency
|
||||
# so that only one request happens at a time.
|
||||
# Provides a fingerprint to use in requests to modify a deployment, such as `
|
||||
# update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
|
||||
# randomly generated value that must be provided with `update()`, `stop()`, and `
|
||||
# cancelPreview()` requests to perform optimistic locking. This ensures
|
||||
# optimistic concurrency so that only one request happens at a time.
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify data. To get the latest fingerprint value, perform a
|
||||
# get() request to a deployment.
|
||||
# every request to modify data. To get the latest fingerprint value, perform a `
|
||||
# get()` request to a deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -270,34 +304,45 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Output only. URL of the manifest representing the last manifest that was
|
||||
# successfully deployed.
|
||||
# successfully deployed. If no manifest has been successfully deployed, this
|
||||
# field will be absent.
|
||||
# Corresponds to the JSON property `manifest`
|
||||
# @return [String]
|
||||
attr_accessor :manifest
|
||||
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -380,9 +425,9 @@ module Google
|
|||
|
||||
# Output only. Map of labels; provided by the client when the resource is
|
||||
# created or updated. Specifically: Label keys must be between 1 and 63
|
||||
# characters long and must conform to the following regular expression: [a-z]([-
|
||||
# a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
|
||||
# must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# characters long and must conform to the following regular expression: `[a-z]([-
|
||||
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
||||
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
@ -434,15 +479,15 @@ module Google
|
|||
class DeploymentsCancelPreviewRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
|
||||
# randomly generated value that must be provided in cancelPreview() requests to
|
||||
# perform optimistic locking. This ensures optimistic concurrency so that the
|
||||
# Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a
|
||||
# randomly generated value that must be provided in `cancelPreview()` requests
|
||||
# to perform optimistic locking. This ensures optimistic concurrency so that the
|
||||
# deployment does not have conflicting requests (e.g. if someone attempts to
|
||||
# make a new update request while another user attempts to cancel a preview,
|
||||
# this would prevent one of the requests).
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify a deployment. To get the latest fingerprint value,
|
||||
# perform a get() request on the deployment.
|
||||
# perform a `get()` request on the deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -488,15 +533,15 @@ module Google
|
|||
class DeploymentsStopRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies a fingerprint for stop() requests. A fingerprint is a randomly
|
||||
# generated value that must be provided in stop() requests to perform optimistic
|
||||
# locking. This ensures optimistic concurrency so that the deployment does not
|
||||
# have conflicting requests (e.g. if someone attempts to make a new update
|
||||
# request while another user attempts to stop an ongoing update request, this
|
||||
# would prevent a collision).
|
||||
# Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly
|
||||
# generated value that must be provided in `stop()` requests to perform
|
||||
# optimistic locking. This ensures optimistic concurrency so that the deployment
|
||||
# does not have conflicting requests (e.g. if someone attempts to make a new
|
||||
# update request while another user attempts to stop an ongoing update request,
|
||||
# this would prevent a collision).
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify a deployment. To get the latest fingerprint value,
|
||||
# perform a get() request on the deployment.
|
||||
# perform a `get()` request on the deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -512,33 +557,48 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence" description: "Determines whether the request
|
||||
# has a user account" expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||
# documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit" description: "Determines if a summary is less than
|
||||
# 100 chars" expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner" description: "Determines if requestor is the
|
||||
# document owner" expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents" description: "Determine whether the document should
|
||||
# be publicly visible" expression: "document.type != 'private' && document.type !
|
||||
# = 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string" description: "Create a notification string with a
|
||||
# timestamp." expression: "'New message received at ' + string(document.
|
||||
# create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service documentation
|
||||
# for additional information.
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Optional. Description of the expression. This is a longer text which describes
|
||||
# the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in Common Expression Language syntax.
|
||||
# The application context of the containing message determines which well-known
|
||||
# feature set of CEL is supported.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Optional. String indicating the location of the expression for error reporting,
|
||||
# e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing its
|
||||
# purpose. This can be used e.g. in UIs which allow to enter the expression.
|
||||
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
||||
# This can be used e.g. in UIs which allow to enter the expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
# @return [String]
|
||||
attr_accessor :title
|
||||
|
@ -573,23 +633,36 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
|
||||
# members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a `
|
||||
# condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the [IAM documentation]
|
||||
# (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# **JSON example:**
|
||||
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
|
||||
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
||||
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
||||
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
||||
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
||||
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
||||
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
|
||||
# **YAML example:**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
||||
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
||||
# access description: Does not grant access after Sep 2020 expression: request.
|
||||
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
||||
# For a description of IAM and its features, see the [IAM documentation](https://
|
||||
# cloud.google.com/iam/docs/).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::DeploymentmanagerV2::Policy]
|
||||
attr_accessor :policy
|
||||
|
@ -652,10 +725,8 @@ module Google
|
|||
# a representation of IAMContext.principal even if a token or authority selector
|
||||
# is present; or - "" (empty string), resulting in a counter with no fields.
|
||||
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
||||
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
||||
# of IAMContext.principal]`
|
||||
# At this time we do not support multiple field names (though this may be
|
||||
# supported in the future).
|
||||
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
||||
# IAMContext.principal]`
|
||||
# Corresponds to the JSON property `counter`
|
||||
# @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions]
|
||||
attr_accessor :counter
|
||||
|
@ -714,13 +785,16 @@ module Google
|
|||
# a representation of IAMContext.principal even if a token or authority selector
|
||||
# is present; or - "" (empty string), resulting in a counter with no fields.
|
||||
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
||||
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
||||
# of IAMContext.principal]`
|
||||
# At this time we do not support multiple field names (though this may be
|
||||
# supported in the future).
|
||||
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
||||
# IAMContext.principal]`
|
||||
class LogConfigCounterOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Custom fields.
|
||||
# Corresponds to the JSON property `customFields`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField>]
|
||||
attr_accessor :custom_fields
|
||||
|
||||
# The field value to attribute.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
|
@ -737,21 +811,45 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
end
|
||||
end
|
||||
|
||||
# Custom fields. These can be used to create a counter with arbitrary field/
|
||||
# value pairs. See: go/rpcsp-custom-fields.
|
||||
class LogConfigCounterOptionsCustomField
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Name is the field name.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Value is the field value. It is important that in contrast to the
|
||||
# CounterOptions.field, the value here is a constant that is not derived from
|
||||
# the IAMContext.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
class LogConfigDataAccessOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
||||
# is relevant only in the LocalIAM implementation, for now.
|
||||
# NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
|
||||
# work is being done to satisfy the requirements of go/345. Currently, setting
|
||||
# LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
|
||||
# active work being done to support it (b/115874152).
|
||||
#
|
||||
# Corresponds to the JSON property `logMode`
|
||||
# @return [String]
|
||||
attr_accessor :log_mode
|
||||
|
@ -855,11 +953,21 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
class Operation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -893,19 +1001,19 @@ module Google
|
|||
attr_accessor :error
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# message that was returned, such as NOT FOUND.
|
||||
# message that was returned, such as `NOT FOUND`.
|
||||
# Corresponds to the JSON property `httpErrorMessage`
|
||||
# @return [String]
|
||||
attr_accessor :http_error_message
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# status code that was returned. For example, a 404 means the resource was not
|
||||
# status code that was returned. For example, a `404` means the resource was not
|
||||
# found.
|
||||
# Corresponds to the JSON property `httpErrorStatusCode`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :http_error_status_code
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# [Output Only] The unique identifier for the operation. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -917,19 +1025,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :insert_time
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||
# [Output Only] Type of the resource. Always `compute#operation` for Operation
|
||||
# resources.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] Name of the resource.
|
||||
# [Output Only] Name of the operation.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# [Output Only] The type of operation, such as insert, update, or delete, and so
|
||||
# on.
|
||||
# [Output Only] The type of operation, such as `insert`, `update`, or `delete`,
|
||||
# and so on.
|
||||
# Corresponds to the JSON property `operationType`
|
||||
# @return [String]
|
||||
attr_accessor :operation_type
|
||||
|
@ -943,9 +1051,7 @@ module Google
|
|||
attr_accessor :progress
|
||||
|
||||
# [Output Only] The URL of the region where the operation resides. Only
|
||||
# available when performing regional operations. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# applicable when performing regional operations.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
@ -961,8 +1067,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# [Output Only] The status of the operation, which can be one of the following:
|
||||
# PENDING, RUNNING, or DONE.
|
||||
# [Output Only] The status of the operation, which can be one of the following: `
|
||||
# PENDING`, `RUNNING`, or `DONE`.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
@ -986,7 +1092,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :target_link
|
||||
|
||||
# [Output Only] User who requested the operation, for example: user@example.com.
|
||||
# [Output Only] User who requested the operation, for example: `user@example.com`
|
||||
# .
|
||||
# Corresponds to the JSON property `user`
|
||||
# @return [String]
|
||||
attr_accessor :user
|
||||
|
@ -997,9 +1104,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2::Operation::Warning>]
|
||||
attr_accessor :warnings
|
||||
|
||||
# [Output Only] The URL of the zone where the operation resides. Only available
|
||||
# when performing per-zone operations. You must specify this field as part of
|
||||
# the HTTP request URL. It is not settable as a field in the request body.
|
||||
# [Output Only] The URL of the zone where the operation resides. Only applicable
|
||||
# when performing per-zone operations.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
@ -1178,23 +1284,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
|
||||
# members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a `
|
||||
# condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the [IAM documentation]
|
||||
# (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# **JSON example:**
|
||||
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
|
||||
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
||||
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
||||
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
||||
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
||||
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
||||
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
|
||||
# **YAML example:**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
||||
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
||||
# access description: Does not grant access after Sep 2020 expression: request.
|
||||
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
||||
# For a description of IAM and its features, see the [IAM documentation](https://
|
||||
# cloud.google.com/iam/docs/).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1203,8 +1322,9 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`. `bindings` with no members will
|
||||
# result in an error.
|
||||
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
||||
# condition` that determines how and when the `bindings` are applied. Each of
|
||||
# the `bindings` must contain at least one member.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
@ -1216,8 +1336,10 @@ module Google
|
|||
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||
# applied to the same version of the policy.
|
||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
||||
# policy is overwritten blindly.
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||
# conditions in the version `3` policy are lost.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -1240,7 +1362,24 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Deprecated.
|
||||
# Specifies the format of the policy.
|
||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
|
||||
# rejected.
|
||||
# Any operation that affects conditional role bindings must specify version `3`.
|
||||
# This requirement applies to the following operations:
|
||||
# * Getting a policy that includes a conditional role binding * Adding a
|
||||
# conditional role binding to a policy * Changing a conditional role binding in
|
||||
# a policy * Removing any role binding, with or without a condition, from a
|
||||
# policy that includes conditions
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||
# conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the [
|
||||
# IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -1302,8 +1441,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :properties
|
||||
|
||||
# Output only. The type of the resource, for example compute.v1.instance, or
|
||||
# cloudfunctions.v1beta1.function.
|
||||
# Output only. The type of the resource, for example `compute.v1.instance`, or `
|
||||
# cloudfunctions.v1beta1.function`.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -1454,7 +1593,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :final_properties
|
||||
|
||||
# Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
|
||||
# Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
|
||||
# Corresponds to the JSON property `intent`
|
||||
# @return [String]
|
||||
attr_accessor :intent
|
||||
|
@ -1787,11 +1926,21 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
||||
attr_accessor :operation
|
||||
|
|
|
@ -136,6 +136,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfigCounterOptionsCustomField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfigDataAccessOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -306,6 +312,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
@ -334,7 +341,6 @@ module Google
|
|||
property :op, as: 'op'
|
||||
property :svc, as: 'svc'
|
||||
property :sys, as: 'sys'
|
||||
property :value, as: 'value'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
@ -470,11 +476,21 @@ module Google
|
|||
class LogConfigCounterOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField::Representation
|
||||
|
||||
property :field, as: 'field'
|
||||
property :metric, as: 'metric'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfigCounterOptionsCustomField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfigDataAccessOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -213,8 +213,8 @@ module Google
|
|||
# If set to true, creates a deployment and creates "shell" resources but does
|
||||
# not actually instantiate these resources. This allows you to preview what your
|
||||
# deployment looks like. After previewing a deployment, you can deploy your
|
||||
# resources by making a request with the update() method or you can use the
|
||||
# cancelPreview() method to cancel the preview altogether. Note that the
|
||||
# resources by making a request with the `update()` method or you can use the `
|
||||
# cancelPreview()` method to cancel the preview altogether. Note that the
|
||||
# deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# @param [String] fields
|
||||
|
@ -258,36 +258,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -322,8 +322,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a deployment and all of the resources described by the deployment
|
||||
# manifest. This method supports patch semantics.
|
||||
# Patches a deployment and all of the resources described by the deployment
|
||||
# manifest.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] deployment
|
||||
|
@ -338,11 +338,12 @@ module Google
|
|||
# resources but does not actually alter or instantiate these resources. This
|
||||
# allows you to preview what your deployment will look like. You can use this
|
||||
# intent to preview how an update would affect your deployment. You must provide
|
||||
# a target.config with a configuration if this is set to true. After previewing
|
||||
# a deployment, you can deploy your resources by making a request with the
|
||||
# update() or you can cancelPreview() to remove the preview altogether. Note
|
||||
# that the deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# a `target.config` with a configuration if this is set to true. After
|
||||
# previewing a deployment, you can deploy your resources by making a request
|
||||
# with the `update()` or you can `cancelPreview()` to remove the preview
|
||||
# altogether. Note that the deployment will still exist after you cancel the
|
||||
# preview and you must separately delete this deployment if you want to remove
|
||||
# it.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -514,11 +515,12 @@ module Google
|
|||
# resources but does not actually alter or instantiate these resources. This
|
||||
# allows you to preview what your deployment will look like. You can use this
|
||||
# intent to preview how an update would affect your deployment. You must provide
|
||||
# a target.config with a configuration if this is set to true. After previewing
|
||||
# a deployment, you can deploy your resources by making a request with the
|
||||
# update() or you can cancelPreview() to remove the preview altogether. Note
|
||||
# that the deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# a `target.config` with a configuration if this is set to true. After
|
||||
# previewing a deployment, you can deploy your resources by making a request
|
||||
# with the `update()` or you can `cancelPreview()` to remove the preview
|
||||
# altogether. Note that the deployment will still exist after you cancel the
|
||||
# preview and you must separately delete this deployment if you want to remove
|
||||
# it.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -603,36 +605,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -711,36 +713,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -823,36 +825,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -895,36 +897,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2beta
|
||||
VERSION = 'V2beta'
|
||||
REVISION = '20181207'
|
||||
REVISION = '20200512'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -56,14 +56,14 @@ module Google
|
|||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
||||
# log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
|
||||
# fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
|
||||
# ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
|
||||
# ] `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
||||
# com from DATA_WRITE logging.
|
||||
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
|
||||
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
||||
# ] ` ] ` ] `
|
||||
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
|
||||
# example.com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -98,9 +98,9 @@ module Google
|
|||
|
||||
# Provides the configuration for logging a type of permissions. Example:
|
||||
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
||||
# user:foo@gmail.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.
|
||||
# com from DATA_READ logging.
|
||||
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
||||
# example.com from DATA_READ logging.
|
||||
class AuditLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -110,6 +110,12 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `ignoreChildExemptions`
|
||||
# @return [Boolean]
|
||||
attr_accessor :ignore_child_exemptions
|
||||
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
||||
|
||||
# The log type that this config enables.
|
||||
# Corresponds to the JSON property `logType`
|
||||
# @return [String]
|
||||
|
@ -122,6 +128,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
||||
@log_type = args[:log_type] if args.key?(:log_type)
|
||||
end
|
||||
end
|
||||
|
@ -212,9 +219,26 @@ module Google
|
|||
class Binding
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence" description: "Determines whether the request
|
||||
# has a user account" expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||
# documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit" description: "Determines if a summary is less than
|
||||
# 100 chars" expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner" description: "Determines if requestor is the
|
||||
# document owner" expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents" description: "Determine whether the document should
|
||||
# be publicly visible" expression: "document.type != 'private' && document.type !
|
||||
# = 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string" description: "Create a notification string with a
|
||||
# timestamp." expression: "'New message received at ' + string(document.
|
||||
# create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service documentation
|
||||
# for additional information.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Expr]
|
||||
attr_accessor :condition
|
||||
|
@ -226,13 +250,29 @@ module Google
|
|||
# * `allAuthenticatedUsers`: A special identifier that represents anyone who is
|
||||
# authenticated with a Google account or a service account.
|
||||
# * `user:`emailid``: An email address that represents a specific Google account.
|
||||
# For example, `alice@gmail.com` .
|
||||
# For example, `alice@example.com` .
|
||||
# * `serviceAccount:`emailid``: An email address that represents a service
|
||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
# * `group:`emailid``: An email address that represents a Google group. For
|
||||
# example, `admins@example.com`.
|
||||
# * `domain:`domain``: A Google Apps domain name that represents all the users
|
||||
# of that domain. For example, `google.com` or `example.com`.
|
||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a user that has been recently deleted. For example, `
|
||||
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
||||
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
||||
# the binding.
|
||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||
# unique identifier) representing a service account that has been recently
|
||||
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
||||
# 123456789012345678901`. If the service account is undeleted, this value
|
||||
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
||||
# retains the role in the binding.
|
||||
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||
# identifier) representing a Google group that has been recently deleted. For
|
||||
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
||||
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
||||
# retains the role in the binding.
|
||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||
# users of that domain. For example, `google.com` or `example.com`.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
@ -303,24 +343,34 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::CompositeTypeLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the composite type, must follow the expression: [a-z]([-a-z0-9_.]`0,61`
|
||||
# [a-z0-9])?.
|
||||
# Name of the composite type, must follow the expression: `[a-z]([-a-z0-9_.]`0,
|
||||
# 61`[a-z0-9])?`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -434,12 +484,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :sys
|
||||
|
||||
# DEPRECATED. Use 'values' instead.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
# The objects of the condition. This is mutually exclusive with 'value'.
|
||||
# The objects of the condition.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
@ -454,7 +499,6 @@ module Google
|
|||
@op = args[:op] if args.key?(:op)
|
||||
@svc = args[:svc] if args.key?(:svc)
|
||||
@sys = args[:sys] if args.key?(:sys)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
@values = args[:values] if args.key?(:values)
|
||||
end
|
||||
end
|
||||
|
@ -520,14 +564,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Provides a fingerprint to use in requests to modify a deployment, such as
|
||||
# update(), stop(), and cancelPreview() requests. A fingerprint is a randomly
|
||||
# generated value that must be provided with update(), stop(), and cancelPreview(
|
||||
# ) requests to perform optimistic locking. This ensures optimistic concurrency
|
||||
# so that only one request happens at a time.
|
||||
# Provides a fingerprint to use in requests to modify a deployment, such as `
|
||||
# update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
|
||||
# randomly generated value that must be provided with `update()`, `stop()`, and `
|
||||
# cancelPreview()` requests to perform optimistic locking. This ensures
|
||||
# optimistic concurrency so that only one request happens at a time.
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify data. To get the latest fingerprint value, perform a
|
||||
# get() request to a deployment.
|
||||
# every request to modify data. To get the latest fingerprint value, perform a `
|
||||
# get()` request to a deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -545,34 +589,45 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Output only. URL of the manifest representing the last manifest that was
|
||||
# successfully deployed.
|
||||
# successfully deployed. If no manifest has been successfully deployed, this
|
||||
# field will be absent.
|
||||
# Corresponds to the JSON property `manifest`
|
||||
# @return [String]
|
||||
attr_accessor :manifest
|
||||
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -655,9 +710,9 @@ module Google
|
|||
|
||||
# Output only. Map of labels; provided by the client when the resource is
|
||||
# created or updated. Specifically: Label keys must be between 1 and 63
|
||||
# characters long and must conform to the following regular expression: [a-z]([-
|
||||
# a-z0-9]*[a-z0-9])? Label values must be between 0 and 63 characters long and
|
||||
# must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# characters long and must conform to the following regular expression: `[a-z]([-
|
||||
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
||||
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::DeploymentUpdateLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
@ -709,15 +764,15 @@ module Google
|
|||
class DeploymentsCancelPreviewRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies a fingerprint for cancelPreview() requests. A fingerprint is a
|
||||
# randomly generated value that must be provided in cancelPreview() requests to
|
||||
# perform optimistic locking. This ensures optimistic concurrency so that the
|
||||
# Specifies a fingerprint for `cancelPreview()` requests. A fingerprint is a
|
||||
# randomly generated value that must be provided in `cancelPreview()` requests
|
||||
# to perform optimistic locking. This ensures optimistic concurrency so that the
|
||||
# deployment does not have conflicting requests (e.g. if someone attempts to
|
||||
# make a new update request while another user attempts to cancel a preview,
|
||||
# this would prevent one of the requests).
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify a deployment. To get the latest fingerprint value,
|
||||
# perform a get() request on the deployment.
|
||||
# perform a `get()` request on the deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -763,15 +818,15 @@ module Google
|
|||
class DeploymentsStopRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies a fingerprint for stop() requests. A fingerprint is a randomly
|
||||
# generated value that must be provided in stop() requests to perform optimistic
|
||||
# locking. This ensures optimistic concurrency so that the deployment does not
|
||||
# have conflicting requests (e.g. if someone attempts to make a new update
|
||||
# request while another user attempts to stop an ongoing update request, this
|
||||
# would prevent a collision).
|
||||
# Specifies a fingerprint for `stop()` requests. A fingerprint is a randomly
|
||||
# generated value that must be provided in `stop()` requests to perform
|
||||
# optimistic locking. This ensures optimistic concurrency so that the deployment
|
||||
# does not have conflicting requests (e.g. if someone attempts to make a new
|
||||
# update request while another user attempts to stop an ongoing update request,
|
||||
# this would prevent a collision).
|
||||
# The fingerprint is initially generated by Deployment Manager and changes after
|
||||
# every request to modify a deployment. To get the latest fingerprint value,
|
||||
# perform a get() request on the deployment.
|
||||
# perform a `get()` request on the deployment.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -813,33 +868,48 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents an expression text. Example:
|
||||
# title: "User account presence" description: "Determines whether the request
|
||||
# has a user account" expression: "size(request.user) > 0"
|
||||
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
||||
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
||||
# documented at https://github.com/google/cel-spec.
|
||||
# Example (Comparison):
|
||||
# title: "Summary size limit" description: "Determines if a summary is less than
|
||||
# 100 chars" expression: "document.summary.size() < 100"
|
||||
# Example (Equality):
|
||||
# title: "Requestor is owner" description: "Determines if requestor is the
|
||||
# document owner" expression: "document.owner == request.auth.claims.email"
|
||||
# Example (Logic):
|
||||
# title: "Public documents" description: "Determine whether the document should
|
||||
# be publicly visible" expression: "document.type != 'private' && document.type !
|
||||
# = 'internal'"
|
||||
# Example (Data Manipulation):
|
||||
# title: "Notification string" description: "Create a notification string with a
|
||||
# timestamp." expression: "'New message received at ' + string(document.
|
||||
# create_time)"
|
||||
# The exact variables and functions that may be referenced within an expression
|
||||
# are determined by the service that evaluates it. See the service documentation
|
||||
# for additional information.
|
||||
class Expr
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An optional description of the expression. This is a longer text which
|
||||
# describes the expression, e.g. when hovered over it in a UI.
|
||||
# Optional. Description of the expression. This is a longer text which describes
|
||||
# the expression, e.g. when hovered over it in a UI.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Textual representation of an expression in Common Expression Language syntax.
|
||||
# The application context of the containing message determines which well-known
|
||||
# feature set of CEL is supported.
|
||||
# Corresponds to the JSON property `expression`
|
||||
# @return [String]
|
||||
attr_accessor :expression
|
||||
|
||||
# An optional string indicating the location of the expression for error
|
||||
# reporting, e.g. a file name and a position in the file.
|
||||
# Optional. String indicating the location of the expression for error reporting,
|
||||
# e.g. a file name and a position in the file.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# An optional title for the expression, i.e. a short string describing its
|
||||
# purpose. This can be used e.g. in UIs which allow to enter the expression.
|
||||
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
||||
# This can be used e.g. in UIs which allow to enter the expression.
|
||||
# Corresponds to the JSON property `title`
|
||||
# @return [String]
|
||||
attr_accessor :title
|
||||
|
@ -874,23 +944,36 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
|
||||
# members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a `
|
||||
# condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the [IAM documentation]
|
||||
# (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# **JSON example:**
|
||||
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
|
||||
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
||||
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
||||
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
||||
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
||||
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
||||
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
|
||||
# **YAML example:**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
||||
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
||||
# access description: Does not grant access after Sep 2020 expression: request.
|
||||
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
||||
# For a description of IAM and its features, see the [IAM documentation](https://
|
||||
# cloud.google.com/iam/docs/).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Policy]
|
||||
attr_accessor :policy
|
||||
|
@ -991,10 +1074,8 @@ module Google
|
|||
# a representation of IAMContext.principal even if a token or authority selector
|
||||
# is present; or - "" (empty string), resulting in a counter with no fields.
|
||||
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
||||
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
||||
# of IAMContext.principal]`
|
||||
# At this time we do not support multiple field names (though this may be
|
||||
# supported in the future).
|
||||
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
||||
# IAMContext.principal]`
|
||||
# Corresponds to the JSON property `counter`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptions]
|
||||
attr_accessor :counter
|
||||
|
@ -1053,13 +1134,16 @@ module Google
|
|||
# a representation of IAMContext.principal even if a token or authority selector
|
||||
# is present; or - "" (empty string), resulting in a counter with no fields.
|
||||
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
||||
# increment counter /iam/policy/backend_debug_access_count `iam_principal=[value
|
||||
# of IAMContext.principal]`
|
||||
# At this time we do not support multiple field names (though this may be
|
||||
# supported in the future).
|
||||
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
||||
# IAMContext.principal]`
|
||||
class LogConfigCounterOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Custom fields.
|
||||
# Corresponds to the JSON property `customFields`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField>]
|
||||
attr_accessor :custom_fields
|
||||
|
||||
# The field value to attribute.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
|
@ -1076,21 +1160,45 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
end
|
||||
end
|
||||
|
||||
# Custom fields. These can be used to create a counter with arbitrary field/
|
||||
# value pairs. See: go/rpcsp-custom-fields.
|
||||
class LogConfigCounterOptionsCustomField
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Name is the field name.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Value is the field value. It is important that in contrast to the
|
||||
# CounterOptions.field, the value here is a constant that is not derived from
|
||||
# the IAMContext.
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
|
||||
# Write a Data Access (Gin) log
|
||||
class LogConfigDataAccessOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether Gin logging should happen in a fail-closed manner at the caller. This
|
||||
# is relevant only in the LocalIAM implementation, for now.
|
||||
# NOTE: Logging to Gin in a fail-closed manner is currently unsupported while
|
||||
# work is being done to satisfy the requirements of go/345. Currently, setting
|
||||
# LOG_FAIL_CLOSED mode will have no effect, but still exists because there is
|
||||
# active work being done to support it (b/115874152).
|
||||
#
|
||||
# Corresponds to the JSON property `logMode`
|
||||
# @return [String]
|
||||
attr_accessor :log_mode
|
||||
|
@ -1194,11 +1302,21 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
class Operation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1232,19 +1350,19 @@ module Google
|
|||
attr_accessor :error
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# message that was returned, such as NOT FOUND.
|
||||
# message that was returned, such as `NOT FOUND`.
|
||||
# Corresponds to the JSON property `httpErrorMessage`
|
||||
# @return [String]
|
||||
attr_accessor :http_error_message
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# status code that was returned. For example, a 404 means the resource was not
|
||||
# status code that was returned. For example, a `404` means the resource was not
|
||||
# found.
|
||||
# Corresponds to the JSON property `httpErrorStatusCode`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :http_error_status_code
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# [Output Only] The unique identifier for the operation. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
|
@ -1256,19 +1374,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :insert_time
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#operation for Operation
|
||||
# [Output Only] Type of the resource. Always `compute#operation` for Operation
|
||||
# resources.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] Name of the resource.
|
||||
# [Output Only] Name of the operation.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# [Output Only] The type of operation, such as insert, update, or delete, and so
|
||||
# on.
|
||||
# [Output Only] The type of operation, such as `insert`, `update`, or `delete`,
|
||||
# and so on.
|
||||
# Corresponds to the JSON property `operationType`
|
||||
# @return [String]
|
||||
attr_accessor :operation_type
|
||||
|
@ -1282,9 +1400,7 @@ module Google
|
|||
attr_accessor :progress
|
||||
|
||||
# [Output Only] The URL of the region where the operation resides. Only
|
||||
# available when performing regional operations. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# applicable when performing regional operations.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
@ -1300,8 +1416,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
# [Output Only] The status of the operation, which can be one of the following:
|
||||
# PENDING, RUNNING, or DONE.
|
||||
# [Output Only] The status of the operation, which can be one of the following: `
|
||||
# PENDING`, `RUNNING`, or `DONE`.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
@ -1325,7 +1441,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :target_link
|
||||
|
||||
# [Output Only] User who requested the operation, for example: user@example.com.
|
||||
# [Output Only] User who requested the operation, for example: `user@example.com`
|
||||
# .
|
||||
# Corresponds to the JSON property `user`
|
||||
# @return [String]
|
||||
attr_accessor :user
|
||||
|
@ -1336,9 +1453,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Operation::Warning>]
|
||||
attr_accessor :warnings
|
||||
|
||||
# [Output Only] The URL of the zone where the operation resides. Only available
|
||||
# when performing per-zone operations. You must specify this field as part of
|
||||
# the HTTP request URL. It is not settable as a field in the request body.
|
||||
# [Output Only] The URL of the zone where the operation resides. Only applicable
|
||||
# when performing per-zone operations.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
@ -1560,23 +1676,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# An Identity and Access Management (IAM) policy, which specifies access
|
||||
# controls for Google Cloud resources.
|
||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more `
|
||||
# members` to a single `role`. Members can be user accounts, service accounts,
|
||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||
# custom role.
|
||||
# For some types of Google Cloud resources, a `binding` can also specify a `
|
||||
# condition`, which is a logical expression that allows access to a resource
|
||||
# only if the expression evaluates to `true`. A condition can add constraints
|
||||
# based on attributes of the request, the resource, or both. To learn which
|
||||
# resources support conditions in their IAM policies, see the [IAM documentation]
|
||||
# (https://cloud.google.com/iam/help/conditions/resource-policies).
|
||||
# **JSON example:**
|
||||
# ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
|
||||
# [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
||||
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
||||
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
||||
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
||||
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
||||
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
|
||||
# **YAML example:**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
||||
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
||||
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
||||
# access description: Does not grant access after Sep 2020 expression: request.
|
||||
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
||||
# For a description of IAM and its features, see the [IAM documentation](https://
|
||||
# cloud.google.com/iam/docs/).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1585,8 +1714,9 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`. `bindings` with no members will
|
||||
# result in an error.
|
||||
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
||||
# condition` that determines how and when the `bindings` are applied. Each of
|
||||
# the `bindings` must contain at least one member.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
@ -1598,8 +1728,10 @@ module Google
|
|||
# returned in the response to `getIamPolicy`, and systems are expected to put
|
||||
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
||||
# applied to the same version of the policy.
|
||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
||||
# policy is overwritten blindly.
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||
# conditions in the version `3` policy are lost.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -1622,7 +1754,24 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Deprecated.
|
||||
# Specifies the format of the policy.
|
||||
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
|
||||
# rejected.
|
||||
# Any operation that affects conditional role bindings must specify version `3`.
|
||||
# This requirement applies to the following operations:
|
||||
# * Getting a policy that includes a conditional role binding * Adding a
|
||||
# conditional role binding to a policy * Changing a conditional role binding in
|
||||
# a policy * Removing any role binding, with or without a condition, from a
|
||||
# policy that includes conditions
|
||||
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
||||
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
||||
# conditions in the version `3` policy are lost.
|
||||
# If a policy does not include any conditions, operations on that policy may
|
||||
# specify any valid version or leave the field unset.
|
||||
# To learn which resources support conditions in their IAM policies, see the [
|
||||
# IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
||||
# policies).
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -1729,8 +1878,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :properties
|
||||
|
||||
# Output only. The type of the resource, for example compute.v1.instance, or
|
||||
# cloudfunctions.v1beta1.function.
|
||||
# Output only. The type of the resource, for example `compute.v1.instance`, or `
|
||||
# cloudfunctions.v1beta1.function`.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -1881,7 +2030,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :final_properties
|
||||
|
||||
# Output only. The intent of the resource: PREVIEW, UPDATE, or CANCEL.
|
||||
# Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
|
||||
# Corresponds to the JSON property `intent`
|
||||
# @return [String]
|
||||
attr_accessor :intent
|
||||
|
@ -2285,9 +2434,9 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
@ -2297,11 +2446,21 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -2344,7 +2503,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :documentation_link
|
||||
|
||||
# Output only. Type of the output. Always deploymentManager#TypeInfo for
|
||||
# Output only. Type of the output. Always `deploymentManager#TypeInfo` for
|
||||
# TypeInfo.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
|
@ -2454,6 +2613,16 @@ module Google
|
|||
# @return [Google::Apis::DeploymentmanagerV2beta::Credential]
|
||||
attr_accessor :credential
|
||||
|
||||
# List of up to 2 custom certificate authority roots to use for TLS
|
||||
# authentication when making calls on behalf of this type provider. If set, TLS
|
||||
# authentication will exclusively use these roots instead of relying on publicly
|
||||
# trusted certificate authorities when validating TLS certificate authenticity.
|
||||
# The certificates must be in base64-encoded PEM format. The maximum size of
|
||||
# each certificate must not exceed 10KB.
|
||||
# Corresponds to the JSON property `customCertificateAuthorityRoots`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :custom_certificate_authority_roots
|
||||
|
||||
# An optional textual description of the resource; provided by the client when
|
||||
# the resource is created.
|
||||
# Corresponds to the JSON property `description`
|
||||
|
@ -2477,28 +2646,38 @@ module Google
|
|||
|
||||
# Map of labels; provided by the client when the resource is created or updated.
|
||||
# Specifically: Label keys must be between 1 and 63 characters long and must
|
||||
# conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])? Label
|
||||
# values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
|
||||
# conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
|
||||
# Label values must be between 0 and 63 characters long and must conform to the
|
||||
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::TypeProviderLabelEntry>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the resource; provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
||||
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
||||
# and all following characters must be a dash, lowercase letter, or digit,
|
||||
# except the last character, which cannot be a dash.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# An Operation resource, used to manage asynchronous API requests. (==
|
||||
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
||||
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
||||
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
||||
# beta.zoneOperations ==)
|
||||
# Represents an Operation resource.
|
||||
# Google Compute Engine has three Operation resources:
|
||||
# * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
|
||||
# Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
|
||||
# Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
|
||||
# You can use an operation resource to manage asynchronous API requests. For
|
||||
# more information, read Handling API responses.
|
||||
# Operations can be global, regional or zonal.
|
||||
# - For global operations, use the `globalOperations` resource.
|
||||
# - For regional operations, use the `regionOperations` resource.
|
||||
# - For zonal operations, use the `zonalOperations` resource.
|
||||
# For more information, read Global, Regional, and Zonal Resources. (==
|
||||
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
||||
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
||||
# zoneOperations ==)
|
||||
# Corresponds to the JSON property `operation`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Operation]
|
||||
attr_accessor :operation
|
||||
|
@ -2521,6 +2700,7 @@ module Google
|
|||
def update!(**args)
|
||||
@collection_overrides = args[:collection_overrides] if args.key?(:collection_overrides)
|
||||
@credential = args[:credential] if args.key?(:credential)
|
||||
@custom_certificate_authority_roots = args[:custom_certificate_authority_roots] if args.key?(:custom_certificate_authority_roots)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@descriptor_url = args[:descriptor_url] if args.key?(:descriptor_url)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
|
|
|
@ -196,6 +196,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfigCounterOptionsCustomField
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogConfigDataAccessOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -447,6 +453,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
@ -540,7 +547,6 @@ module Google
|
|||
property :op, as: 'op'
|
||||
property :svc, as: 'svc'
|
||||
property :sys, as: 'sys'
|
||||
property :value, as: 'value'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
@ -705,11 +711,21 @@ module Google
|
|||
class LogConfigCounterOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :custom_fields, as: 'customFields', class: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField, decorator: Google::Apis::DeploymentmanagerV2beta::LogConfigCounterOptionsCustomField::Representation
|
||||
|
||||
property :field, as: 'field'
|
||||
property :metric, as: 'metric'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfigCounterOptionsCustomField
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class LogConfigDataAccessOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1076,6 +1092,7 @@ module Google
|
|||
|
||||
property :credential, as: 'credential', class: Google::Apis::DeploymentmanagerV2beta::Credential, decorator: Google::Apis::DeploymentmanagerV2beta::Credential::Representation
|
||||
|
||||
collection :custom_certificate_authority_roots, as: 'customCertificateAuthorityRoots'
|
||||
property :description, as: 'description'
|
||||
property :descriptor_url, as: 'descriptorUrl'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
|
|
|
@ -167,36 +167,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -231,7 +231,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a composite type. This method supports patch semantics.
|
||||
# Patches a composite type.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] composite_type
|
||||
|
@ -471,8 +471,8 @@ module Google
|
|||
# If set to true, creates a deployment and creates "shell" resources but does
|
||||
# not actually instantiate these resources. This allows you to preview what your
|
||||
# deployment looks like. After previewing a deployment, you can deploy your
|
||||
# resources by making a request with the update() method or you can use the
|
||||
# cancelPreview() method to cancel the preview altogether. Note that the
|
||||
# resources by making a request with the `update()` method or you can use the `
|
||||
# cancelPreview()` method to cancel the preview altogether. Note that the
|
||||
# deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# @param [String] fields
|
||||
|
@ -516,36 +516,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -580,8 +580,8 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a deployment and all of the resources described by the deployment
|
||||
# manifest. This method supports patch semantics.
|
||||
# Patches a deployment and all of the resources described by the deployment
|
||||
# manifest.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] deployment
|
||||
|
@ -596,11 +596,12 @@ module Google
|
|||
# resources but does not actually alter or instantiate these resources. This
|
||||
# allows you to preview what your deployment will look like. You can use this
|
||||
# intent to preview how an update would affect your deployment. You must provide
|
||||
# a target.config with a configuration if this is set to true. After previewing
|
||||
# a deployment, you can deploy your resources by making a request with the
|
||||
# update() or you can cancelPreview() to remove the preview altogether. Note
|
||||
# that the deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# a `target.config` with a configuration if this is set to true. After
|
||||
# previewing a deployment, you can deploy your resources by making a request
|
||||
# with the `update()` or you can `cancelPreview()` to remove the preview
|
||||
# altogether. Note that the deployment will still exist after you cancel the
|
||||
# preview and you must separately delete this deployment if you want to remove
|
||||
# it.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -772,11 +773,12 @@ module Google
|
|||
# resources but does not actually alter or instantiate these resources. This
|
||||
# allows you to preview what your deployment will look like. You can use this
|
||||
# intent to preview how an update would affect your deployment. You must provide
|
||||
# a target.config with a configuration if this is set to true. After previewing
|
||||
# a deployment, you can deploy your resources by making a request with the
|
||||
# update() or you can cancelPreview() to remove the preview altogether. Note
|
||||
# that the deployment will still exist after you cancel the preview and you must
|
||||
# separately delete this deployment if you want to remove it.
|
||||
# a `target.config` with a configuration if this is set to true. After
|
||||
# previewing a deployment, you can deploy your resources by making a request
|
||||
# with the `update()` or you can `cancelPreview()` to remove the preview
|
||||
# altogether. Note that the deployment will still exist after you cancel the
|
||||
# preview and you must separately delete this deployment if you want to remove
|
||||
# it.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -861,36 +863,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -969,36 +971,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1081,36 +1083,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1300,36 +1302,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1373,36 +1375,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -1438,7 +1440,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates a type provider. This method supports patch semantics.
|
||||
# Patches a type provider.
|
||||
# @param [String] project
|
||||
# The project ID for this request.
|
||||
# @param [String] type_provider
|
||||
|
@ -1523,36 +1525,36 @@ module Google
|
|||
# A filter expression that filters resources listed in the response. The
|
||||
# expression must specify the field name, a comparison operator, and the value
|
||||
# that you want to use for filtering. The value must be a string, a number, or a
|
||||
# boolean. The comparison operator must be either =, !=, >, or <.
|
||||
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
||||
# For example, if you are filtering Compute Engine instances, you can exclude
|
||||
# instances named example-instance by specifying name != example-instance.
|
||||
# You can also filter nested fields. For example, you could specify scheduling.
|
||||
# automaticRestart = false to include instances only if they are not scheduled
|
||||
# instances named `example-instance` by specifying `name != example-instance`.
|
||||
# You can also filter nested fields. For example, you could specify `scheduling.
|
||||
# automaticRestart = false` to include instances only if they are not scheduled
|
||||
# for automatic restarts. You can use filtering on nested fields to filter based
|
||||
# on resource labels.
|
||||
# To filter on multiple expressions, provide each separate expression within
|
||||
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
||||
# Intel Skylake"). By default, each expression is an AND expression. However,
|
||||
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
||||
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
||||
# automaticRestart = true).
|
||||
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
||||
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
||||
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
||||
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
||||
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
||||
# @param [Fixnum] max_results
|
||||
# The maximum number of results per page that should be returned. If the number
|
||||
# of available results is larger than maxResults, Compute Engine returns a
|
||||
# nextPageToken that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
||||
# of available results is larger than `maxResults`, Compute Engine returns a `
|
||||
# nextPageToken` that can be used to get the next page of results in subsequent
|
||||
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
||||
# @param [String] order_by
|
||||
# Sorts list results by a certain order. By default, results are returned in
|
||||
# alphanumerical order based on the resource name.
|
||||
# You can also sort results in descending order based on the creation timestamp
|
||||
# using orderBy="creationTimestamp desc". This sorts results based on the
|
||||
# creationTimestamp field in reverse chronological order (newest result first).
|
||||
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
||||
# creationTimestamp` field in reverse chronological order (newest result first).
|
||||
# Use this to sort resources like operations so that the newest operation is
|
||||
# returned first.
|
||||
# Currently, only sorting by name or creationTimestamp desc is supported.
|
||||
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
||||
# @param [String] page_token
|
||||
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
||||
# a previous list request to get the next page of results.
|
||||
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
||||
# by a previous list request to get the next page of results.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20191205'
|
||||
REVISION = '20200515'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -112,6 +112,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneReverseLookupConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListManagedZonesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -303,6 +309,8 @@ module Google
|
|||
|
||||
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig::Representation
|
||||
|
||||
property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig::Representation
|
||||
|
||||
property :visibility, as: 'visibility'
|
||||
end
|
||||
end
|
||||
|
@ -330,6 +338,7 @@ module Google
|
|||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :forwarding_path, as: 'forwardingPath'
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
|
@ -382,6 +391,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedZoneReverseLookupConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class ListManagedZonesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -490,6 +506,7 @@ module Google
|
|||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :forwarding_path, as: 'forwardingPath'
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
|
|
|
@ -51,16 +51,11 @@ module Google
|
|||
@batch_path = 'batch/dns/v1'
|
||||
end
|
||||
|
||||
# Atomically update the ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV1::Change] change_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -95,18 +90,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Change.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] change_id
|
||||
# The identifier of the requested change, from a previous
|
||||
# ResourceRecordSetsChangeResponse.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -140,22 +128,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate Changes to a ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] sort_by
|
||||
# Sorting criterion. The only supported value is change sequence.
|
||||
# @param [String] sort_order
|
||||
# Sorting order direction: 'ascending' or 'descending'.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -191,21 +170,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing DnsKey.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] dns_key_id
|
||||
# The identifier of the requested DnsKey.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] digest_type
|
||||
# An optional comma-separated list of digest types to compute and display for
|
||||
# key signing keys. If omitted, the recommended digest type will be computed and
|
||||
# displayed.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -240,22 +210,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate DnsKeys to a ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] digest_type
|
||||
# An optional comma-separated list of digest types to compute and display for
|
||||
# key signing keys. If omitted, the recommended digest type will be computed and
|
||||
# displayed.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -290,16 +250,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Operation.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request.
|
||||
# @param [String] operation
|
||||
# Identifies the operation addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -333,19 +288,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate Operations for the given ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] sort_by
|
||||
# Sorting criterion. The only supported values are START_TIME and ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -380,13 +328,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -420,15 +365,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a previously created ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -459,15 +399,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -500,17 +435,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate ManagedZones that have been created but not yet deleted.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] dns_name
|
||||
# Restricts the list to return only zones with this domain name.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -544,16 +473,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -588,16 +512,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV1::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -632,13 +551,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new Policy
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -672,15 +588,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a previously created Policy. Will fail if the policy is still being
|
||||
# referenced by a network.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -711,14 +622,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -751,15 +658,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate all Policies associated with a project.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -792,15 +694,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -835,15 +733,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -878,12 +772,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Project.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -915,24 +806,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate ResourceRecordSets that have been created but not yet deleted.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] name
|
||||
# Restricts the list to return only records with this fully qualified domain
|
||||
# name.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] type
|
||||
# Restricts the list to return only records of this type. If present, the "name"
|
||||
# parameter must also be present.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20191029'
|
||||
REVISION = '20200515'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -118,6 +118,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneServiceDirectoryConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneServiceDirectoryConfigNamespace
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZonesListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -311,6 +323,8 @@ module Google
|
|||
|
||||
property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneReverseLookupConfig::Representation
|
||||
|
||||
property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfig, decorator: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfig::Representation
|
||||
|
||||
property :visibility, as: 'visibility'
|
||||
end
|
||||
end
|
||||
|
@ -398,6 +412,24 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedZoneServiceDirectoryConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :namespace, as: 'namespace', class: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace, decorator: Google::Apis::DnsV1beta2::ManagedZoneServiceDirectoryConfigNamespace::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZoneServiceDirectoryConfigNamespace
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :deletion_time, as: 'deletionTime'
|
||||
property :kind, as: 'kind'
|
||||
property :namespace_url, as: 'namespaceUrl'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZonesListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -51,16 +51,11 @@ module Google
|
|||
@batch_path = 'batch/dns/v1beta2'
|
||||
end
|
||||
|
||||
# Atomically update the ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV1beta2::Change] change_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -95,18 +90,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Change.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] change_id
|
||||
# The identifier of the requested change, from a previous
|
||||
# ResourceRecordSetsChangeResponse.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -140,22 +128,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate Changes to a ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] sort_by
|
||||
# Sorting criterion. The only supported value is change sequence.
|
||||
# @param [String] sort_order
|
||||
# Sorting order direction: 'ascending' or 'descending'.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -191,21 +170,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing DnsKey.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] dns_key_id
|
||||
# The identifier of the requested DnsKey.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] digest_type
|
||||
# An optional comma-separated list of digest types to compute and display for
|
||||
# key signing keys. If omitted, the recommended digest type will be computed and
|
||||
# displayed.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -240,22 +210,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate DnsKeys to a ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] digest_type
|
||||
# An optional comma-separated list of digest types to compute and display for
|
||||
# key signing keys. If omitted, the recommended digest type will be computed and
|
||||
# displayed.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -290,16 +250,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Operation.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request.
|
||||
# @param [String] operation
|
||||
# Identifies the operation addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -333,19 +288,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate Operations for the given ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] sort_by
|
||||
# Sorting criterion. The only supported values are START_TIME and ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -380,13 +328,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -420,15 +365,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a previously created ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -459,15 +399,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -500,17 +435,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate ManagedZones that have been created but not yet deleted.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] dns_name
|
||||
# Restricts the list to return only zones with this domain name.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -544,16 +473,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -588,16 +512,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV1beta2::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -632,13 +551,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new Policy
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -672,15 +588,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a previously created Policy. Will fail if the policy is still being
|
||||
# referenced by a network.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -711,14 +622,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -751,15 +658,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate all Policies associated with a project.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -792,15 +694,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -835,15 +733,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV1beta2::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -878,12 +772,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Project.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -915,24 +806,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate ResourceRecordSets that have been created but not yet deleted.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] name
|
||||
# Restricts the list to return only records with this fully qualified domain
|
||||
# name.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] type
|
||||
# Restricts the list to return only records of this type. If present, the "name"
|
||||
# parameter must also be present.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-dns
|
||||
module DnsV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20191205'
|
||||
REVISION = '20200515'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -112,6 +112,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZoneReverseLookupConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedZonesListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -303,6 +309,8 @@ module Google
|
|||
|
||||
property :private_visibility_config, as: 'privateVisibilityConfig', class: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig, decorator: Google::Apis::DnsV2beta1::ManagedZonePrivateVisibilityConfig::Representation
|
||||
|
||||
property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV2beta1::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV2beta1::ManagedZoneReverseLookupConfig::Representation
|
||||
|
||||
property :visibility, as: 'visibility'
|
||||
end
|
||||
end
|
||||
|
@ -330,6 +338,7 @@ module Google
|
|||
class ManagedZoneForwardingConfigNameServerTarget
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :forwarding_path, as: 'forwardingPath'
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
|
@ -382,6 +391,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedZoneReverseLookupConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedZonesListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -490,6 +506,7 @@ module Google
|
|||
class PolicyAlternativeNameServerConfigTargetNameServer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :forwarding_path, as: 'forwardingPath'
|
||||
property :ipv4_address, as: 'ipv4Address'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
|
|
|
@ -51,16 +51,11 @@ module Google
|
|||
@batch_path = 'batch/dns/v2beta1'
|
||||
end
|
||||
|
||||
# Atomically update the ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV2beta1::Change] change_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -95,18 +90,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Change.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] change_id
|
||||
# The identifier of the requested change, from a previous
|
||||
# ResourceRecordSetsChangeResponse.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -140,22 +128,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate Changes to a ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] sort_by
|
||||
# Sorting criterion. The only supported value is change sequence.
|
||||
# @param [String] sort_order
|
||||
# Sorting order direction: 'ascending' or 'descending'.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -191,21 +170,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing DnsKey.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] dns_key_id
|
||||
# The identifier of the requested DnsKey.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] digest_type
|
||||
# An optional comma-separated list of digest types to compute and display for
|
||||
# key signing keys. If omitted, the recommended digest type will be computed and
|
||||
# displayed.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -240,22 +210,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate DnsKeys to a ResourceRecordSet collection.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] digest_type
|
||||
# An optional comma-separated list of digest types to compute and display for
|
||||
# key signing keys. If omitted, the recommended digest type will be computed and
|
||||
# displayed.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -290,16 +250,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Operation.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request.
|
||||
# @param [String] operation
|
||||
# Identifies the operation addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -333,19 +288,12 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate Operations for the given ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] sort_by
|
||||
# Sorting criterion. The only supported values are START_TIME and ID.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -380,13 +328,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -420,15 +365,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a previously created ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -459,15 +399,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -500,17 +435,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate ManagedZones that have been created but not yet deleted.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] dns_name
|
||||
# Restricts the list to return only zones with this domain name.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -544,16 +473,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -588,16 +512,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update an existing ManagedZone.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -632,13 +551,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new Policy
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -672,15 +588,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a previously created Policy. Will fail if the policy is still being
|
||||
# referenced by a network.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -711,14 +622,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -751,15 +658,10 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate all Policies associated with a project.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -792,15 +694,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Apply a partial update to an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -835,15 +733,11 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update an existing Policy.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] policy
|
||||
# User given friendly name of the policy addressed by this request.
|
||||
# @param [Google::Apis::DnsV2beta1::Policy] policy_object
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -878,12 +772,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Fetch the representation of an existing Project.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] client_operation_id
|
||||
# For mutating operation requests only. An optional identifier specified by the
|
||||
# client. Must be unique for operation resources in the Operations collection.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -915,24 +806,13 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Enumerate ResourceRecordSets that have been created but not yet deleted.
|
||||
#
|
||||
# @param [String] project
|
||||
# Identifies the project addressed by this request.
|
||||
# @param [String] managed_zone
|
||||
# Identifies the managed zone addressed by this request. Can be the managed zone
|
||||
# name or id.
|
||||
# @param [Fixnum] max_results
|
||||
# Optional. Maximum number of results to be returned. If unspecified, the server
|
||||
# will decide how many results to return.
|
||||
# @param [String] name
|
||||
# Restricts the list to return only records with this fully qualified domain
|
||||
# name.
|
||||
# @param [String] page_token
|
||||
# Optional. A tag returned by a previous list request that was truncated. Use
|
||||
# this parameter to continue a previous list request.
|
||||
# @param [String] type
|
||||
# Restricts the list to return only records of this type. If present, the "name"
|
||||
# parameter must also be present.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServicemanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200506'
|
||||
REVISION = '20200515'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -578,36 +578,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :protocol
|
||||
|
||||
# Unimplemented. Do not use.
|
||||
# The new name the selected proto elements should be renamed to.
|
||||
# The package, the service and the method can all be renamed.
|
||||
# The backend server should implement the renamed proto. However, clients
|
||||
# should call the original method, and ESF routes the traffic to the renamed
|
||||
# method.
|
||||
# HTTP clients should call the URL mapped to the original method.
|
||||
# gRPC and Stubby clients should call the original method with package name.
|
||||
# For legacy reasons, ESF allows Stubby clients to call with the
|
||||
# short name (without the package name). However, for API Versioning(or
|
||||
# multiple methods mapped to the same short name), all Stubby clients must
|
||||
# call the method's full name with the package name, otherwise the first one
|
||||
# (selector) wins.
|
||||
# If this `rename_to` is specified with a trailing `*`, the `selector` must
|
||||
# be specified with a trailing `*` as well. The all element short names
|
||||
# matched by the `*` in the selector will be kept in the `rename_to`.
|
||||
# For example,
|
||||
# rename_rules:
|
||||
# - selector: |-
|
||||
# google.example.library.v1.*
|
||||
# rename_to: google.example.library.*
|
||||
# The selector matches `google.example.library.v1.Library.CreateShelf` and
|
||||
# `google.example.library.v1.Library.CreateBook`, they will be renamed to
|
||||
# `google.example.library.Library.CreateShelf` and
|
||||
# `google.example.library.Library.CreateBook`. It essentially renames the
|
||||
# proto package name section of the matched proto service and methods.
|
||||
# Corresponds to the JSON property `renameTo`
|
||||
# @return [String]
|
||||
attr_accessor :rename_to
|
||||
|
||||
# Selects the methods to which this rule applies.
|
||||
# Refer to selector for syntax details.
|
||||
# Corresponds to the JSON property `selector`
|
||||
|
@ -628,7 +598,6 @@ module Google
|
|||
@operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
|
||||
@path_translation = args[:path_translation] if args.key?(:path_translation)
|
||||
@protocol = args[:protocol] if args.key?(:protocol)
|
||||
@rename_to = args[:rename_to] if args.key?(:rename_to)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -665,7 +665,6 @@ module Google
|
|||
property :operation_deadline, as: 'operationDeadline'
|
||||
property :path_translation, as: 'pathTranslation'
|
||||
property :protocol, as: 'protocol'
|
||||
property :rename_to, as: 'renameTo'
|
||||
property :selector, as: 'selector'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200505'
|
||||
REVISION = '20200519'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue