Autogenerated update (2019-06-21)
Update: - bigquery_v2 - compute_alpha - compute_beta - compute_v1 - dataflow_v1b3 - tagmanager_v1 - tagmanager_v2 - tpu_v1alpha1
This commit is contained in:
parent
6e97b84c3f
commit
dd84b41e1e
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190609'
|
||||
REVISION = '20190616'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -386,6 +386,16 @@ module Google
|
|||
class BinaryConfusionMatrix
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The fraction of predictions given the correct label.
|
||||
# Corresponds to the JSON property `accuracy`
|
||||
# @return [Float]
|
||||
attr_accessor :accuracy
|
||||
|
||||
# The equally weighted average of recall and precision.
|
||||
# Corresponds to the JSON property `f1Score`
|
||||
# @return [Float]
|
||||
attr_accessor :f1_score
|
||||
|
||||
# Number of false samples predicted as false.
|
||||
# Corresponds to the JSON property `falseNegatives`
|
||||
# @return [Fixnum]
|
||||
|
@ -401,12 +411,14 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :positive_class_threshold
|
||||
|
||||
# Aggregate precision.
|
||||
# The fraction of actual positive predictions that had positive actual
|
||||
# labels.
|
||||
# Corresponds to the JSON property `precision`
|
||||
# @return [Float]
|
||||
attr_accessor :precision
|
||||
|
||||
# Aggregate recall.
|
||||
# The fraction of actual positive labels that were given a positive
|
||||
# prediction.
|
||||
# Corresponds to the JSON property `recall`
|
||||
# @return [Float]
|
||||
attr_accessor :recall
|
||||
|
@ -427,6 +439,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accuracy = args[:accuracy] if args.key?(:accuracy)
|
||||
@f1_score = args[:f1_score] if args.key?(:f1_score)
|
||||
@false_negatives = args[:false_negatives] if args.key?(:false_negatives)
|
||||
@false_positives = args[:false_positives] if args.key?(:false_positives)
|
||||
@positive_class_threshold = args[:positive_class_threshold] if args.key?(:positive_class_threshold)
|
||||
|
@ -1514,15 +1528,22 @@ module Google
|
|||
# @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
|
||||
attr_accessor :google_sheets_options
|
||||
|
||||
# [Optional, Experimental] If hive partitioning is enabled, which mode to use.
|
||||
# [Optional, Trusted Tester] If hive partitioning is enabled, which mode to use.
|
||||
# Two modes are supported: - AUTO: automatically infer partition key name(s) and
|
||||
# type(s). - STRINGS: automatic infer partition key name(s). All types are
|
||||
# strings. Not all storage formats support hive partitioning -- requesting hive
|
||||
# partitioning on an unsupported format will lead to an error.
|
||||
# partitioning on an unsupported format will lead to an error. Note: this
|
||||
# setting is in the process of being deprecated in favor of
|
||||
# hivePartitioningOptions.
|
||||
# Corresponds to the JSON property `hivePartitioningMode`
|
||||
# @return [String]
|
||||
attr_accessor :hive_partitioning_mode
|
||||
|
||||
# [Optional, Trusted Tester] Options to configure hive partitioning support.
|
||||
# Corresponds to the JSON property `hivePartitioningOptions`
|
||||
# @return [Google::Apis::BigqueryV2::HivePartitioningOptions]
|
||||
attr_accessor :hive_partitioning_options
|
||||
|
||||
# [Optional] Indicates if BigQuery should allow extra values that are not
|
||||
# represented in the table schema. If true, the extra values are ignored. If
|
||||
# false, records with extra columns are treated as bad records, and if there are
|
||||
|
@ -1586,6 +1607,7 @@ module Google
|
|||
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
||||
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
||||
@hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode)
|
||||
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
||||
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
||||
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
||||
@schema = args[:schema] if args.key?(:schema)
|
||||
|
@ -1757,6 +1779,44 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class HivePartitioningOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Optional, Trusted Tester] When set, what mode of hive partitioning to use
|
||||
# when reading data. Two modes are supported. (1) AUTO: automatically infer
|
||||
# partition key name(s) and type(s). (2) STRINGS: automatically infer partition
|
||||
# key name(s). All types are interpreted as strings. Not all storage formats
|
||||
# support hive partitioning. Requesting hive partitioning on an unsupported
|
||||
# format will lead to an error. Currently supported types include: AVRO, CSV,
|
||||
# JSON, ORC and Parquet.
|
||||
# Corresponds to the JSON property `mode`
|
||||
# @return [String]
|
||||
attr_accessor :mode
|
||||
|
||||
# [Optional, Trusted Tester] When hive partition detection is requested, a
|
||||
# common prefix for all source uris should be supplied. The prefix must end
|
||||
# immediately before the partition key encoding begins. For example, consider
|
||||
# files following this data layout. gs://bucket/path_to_table/dt=2019-01-01/
|
||||
# country=BR/id=7/file.avro gs://bucket/path_to_table/dt=2018-12-31/country=CA/
|
||||
# id=3/file.avro When hive partitioning is requested with either AUTO or STRINGS
|
||||
# detection, the common prefix can be either of gs://bucket/path_to_table or gs:/
|
||||
# /bucket/path_to_table/ (trailing slash does not matter).
|
||||
# Corresponds to the JSON property `sourceUriPrefix`
|
||||
# @return [String]
|
||||
attr_accessor :source_uri_prefix
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@mode = args[:mode] if args.key?(:mode)
|
||||
@source_uri_prefix = args[:source_uri_prefix] if args.key?(:source_uri_prefix)
|
||||
end
|
||||
end
|
||||
|
||||
# Information about a single iteration of the training run.
|
||||
class IterationResult
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2113,7 +2173,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :field_delimiter
|
||||
|
||||
# [Optional, Experimental] If hive partitioning is enabled, which mode to use.
|
||||
# [Optional, Trusted Tester] If hive partitioning is enabled, which mode to use.
|
||||
# Two modes are supported: - AUTO: automatically infer partition key name(s) and
|
||||
# type(s). - STRINGS: automatic infer partition key name(s). All types are
|
||||
# strings. Not all storage formats support hive partitioning -- requesting hive
|
||||
|
@ -2122,6 +2182,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :hive_partitioning_mode
|
||||
|
||||
# [Optional, Trusted Tester] Options to configure hive partitioning support.
|
||||
# Corresponds to the JSON property `hivePartitioningOptions`
|
||||
# @return [Google::Apis::BigqueryV2::HivePartitioningOptions]
|
||||
attr_accessor :hive_partitioning_options
|
||||
|
||||
# [Optional] Indicates if BigQuery should allow extra values that are not
|
||||
# represented in the table schema. If true, the extra values are ignored. If
|
||||
# false, records with extra columns are treated as bad records, and if there are
|
||||
|
@ -2278,6 +2343,7 @@ module Google
|
|||
@encoding = args[:encoding] if args.key?(:encoding)
|
||||
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
||||
@hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode)
|
||||
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
||||
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
||||
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
||||
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
||||
|
|
|
@ -214,6 +214,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HivePartitioningOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IterationResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -697,6 +703,8 @@ module Google
|
|||
class BinaryConfusionMatrix
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accuracy, as: 'accuracy'
|
||||
property :f1_score, as: 'f1Score'
|
||||
property :false_negatives, :numeric_string => true, as: 'falseNegatives'
|
||||
property :false_positives, :numeric_string => true, as: 'falsePositives'
|
||||
property :positive_class_threshold, as: 'positiveClassThreshold'
|
||||
|
@ -963,6 +971,8 @@ module Google
|
|||
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
||||
|
||||
property :hive_partitioning_mode, as: 'hivePartitioningMode'
|
||||
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
||||
|
||||
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
||||
property :max_bad_records, as: 'maxBadRecords'
|
||||
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
||||
|
@ -1010,6 +1020,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class HivePartitioningOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :mode, as: 'mode'
|
||||
property :source_uri_prefix, as: 'sourceUriPrefix'
|
||||
end
|
||||
end
|
||||
|
||||
class IterationResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1101,6 +1119,8 @@ module Google
|
|||
property :encoding, as: 'encoding'
|
||||
property :field_delimiter, as: 'fieldDelimiter'
|
||||
property :hive_partitioning_mode, as: 'hivePartitioningMode'
|
||||
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
||||
|
||||
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
||||
property :max_bad_records, as: 'maxBadRecords'
|
||||
property :null_marker, as: 'nullMarker'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20190530'
|
||||
REVISION = '20190607'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -11025,7 +11025,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :preserved_state_size_gb
|
||||
|
||||
# AllocationAffinity is the configuration of desired allocation which this
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
# Corresponds to the JSON property `reservationAffinity`
|
||||
# @return [Google::Apis::ComputeAlpha::ReservationAffinity]
|
||||
|
@ -13759,7 +13759,7 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# AllocationAffinity is the configuration of desired allocation which this
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
# Corresponds to the JSON property `reservationAffinity`
|
||||
# @return [Google::Apis::ComputeAlpha::ReservationAffinity]
|
||||
|
@ -17693,11 +17693,6 @@ module Google
|
|||
# @return [Google::Apis::ComputeAlpha::ManagedInstanceLastAttempt]
|
||||
attr_accessor :last_attempt
|
||||
|
||||
# Overrides of stateful properties for a given instance
|
||||
# Corresponds to the JSON property `override`
|
||||
# @return [Google::Apis::ComputeAlpha::ManagedInstanceOverride]
|
||||
attr_accessor :override
|
||||
|
||||
# Preserved state for a given instance.
|
||||
# Corresponds to the JSON property `preservedStateFromConfig`
|
||||
# @return [Google::Apis::ComputeAlpha::PreservedState]
|
||||
|
@ -17731,7 +17726,6 @@ module Google
|
|||
@instance_status = args[:instance_status] if args.key?(:instance_status)
|
||||
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
||||
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
||||
@override = args[:override] if args.key?(:override)
|
||||
@preserved_state_from_config = args[:preserved_state_from_config] if args.key?(:preserved_state_from_config)
|
||||
@preserved_state_from_policy = args[:preserved_state_from_policy] if args.key?(:preserved_state_from_policy)
|
||||
@tag = args[:tag] if args.key?(:tag)
|
||||
|
@ -17843,104 +17837,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Overrides of stateful properties for a given instance
|
||||
class ManagedInstanceOverride
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Disk overrides defined for this instance. According to documentation the
|
||||
# maximum number of disks attached to an instance is 128: https://cloud.google.
|
||||
# com/compute/docs/disks/ However, compute API defines the limit at 140, so this
|
||||
# is what we check.
|
||||
# Corresponds to the JSON property `disks`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::ManagedInstanceOverrideDiskOverride>]
|
||||
attr_accessor :disks
|
||||
|
||||
# Metadata overrides defined for this instance. TODO(b/69785416) validate the
|
||||
# total length is <9 KB
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::ManagedInstanceOverride::Metadatum>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# [Output Only] Indicates where does the override come from.
|
||||
# Corresponds to the JSON property `origin`
|
||||
# @return [String]
|
||||
attr_accessor :origin
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disks = args[:disks] if args.key?(:disks)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@origin = args[:origin] if args.key?(:origin)
|
||||
end
|
||||
|
||||
#
|
||||
class Metadatum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Key for the metadata entry. Keys must conform to the following regexp: [a-zA-
|
||||
# Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a
|
||||
# URL in the metadata server. Additionally, to avoid ambiguity, keys must not
|
||||
# conflict with any other metadata keys for the project.
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# Value for the metadata entry. These are free-form strings, and only have
|
||||
# meaning as interpreted by the image running in the instance. The only
|
||||
# restriction placed on values is that their size must be less than or equal to
|
||||
# 262144 bytes (256 KiB).
|
||||
# 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)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedInstanceOverrideDiskOverride
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name of the device on the VM
|
||||
# Corresponds to the JSON property `deviceName`
|
||||
# @return [String]
|
||||
attr_accessor :device_name
|
||||
|
||||
# The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not
|
||||
# specified, the default is to attach the disk in READ_WRITE mode.
|
||||
# Corresponds to the JSON property `mode`
|
||||
# @return [String]
|
||||
attr_accessor :mode
|
||||
|
||||
# The disk that is/will be mounted
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [String]
|
||||
attr_accessor :source
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_name = args[:device_name] if args.key?(:device_name)
|
||||
@mode = args[:mode] if args.key?(:mode)
|
||||
@source = args[:source] if args.key?(:source)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ManagedInstanceVersion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -19639,9 +19535,9 @@ module Google
|
|||
attr_accessor :kind
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `managedHoldback`
|
||||
# Corresponds to the JSON property `maintenancePolicy`
|
||||
# @return [String]
|
||||
attr_accessor :managed_holdback
|
||||
attr_accessor :maintenance_policy
|
||||
|
||||
# The name of the resource, provided by the client when initially creating the
|
||||
# resource. The resource name must be 1-63 characters long, and comply with
|
||||
|
@ -19696,7 +19592,7 @@ module Google
|
|||
@description = args[:description] if args.key?(:description)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@managed_holdback = args[:managed_holdback] if args.key?(:managed_holdback)
|
||||
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@node_template = args[:node_template] if args.key?(:node_template)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
|
@ -20306,7 +20202,7 @@ module Google
|
|||
# Represent a sole-tenant Node Template resource.
|
||||
# You can use a template to define properties for nodes in a node group. For
|
||||
# more information, read Creating node groups and instances. (== resource_for
|
||||
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) NextID: 16
|
||||
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) (== NextID: 16 ==)
|
||||
class NodeTemplate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -20383,7 +20279,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link_with_id
|
||||
|
||||
# Binding properties for the physical server.
|
||||
# Sets the binding properties for the physical server. Valid values include:
|
||||
# - [Default] RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical
|
||||
# server
|
||||
# - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server
|
||||
# whenever possible
|
||||
# See Sole-tenant node options for more information.
|
||||
# Corresponds to the JSON property `serverBinding`
|
||||
# @return [Google::Apis::ComputeAlpha::ServerBinding]
|
||||
attr_accessor :server_binding
|
||||
|
@ -22576,15 +22477,15 @@ module Google
|
|||
|
||||
# Protocols that apply as filter on mirrored traffic. If no protocols are
|
||||
# specified, all traffic that matches the specified CIDR ranges is mirrored. If
|
||||
# neither cidrRanges nor IpProtocols is specified, all traffic is mirrored.
|
||||
# Corresponds to the JSON property `IPProtocol`
|
||||
# neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
|
||||
# Corresponds to the JSON property `IPProtocols`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :ip_protocol
|
||||
attr_accessor :ip_protocols
|
||||
|
||||
# IP CIDR ranges that apply as filter on the source (ingress) or destination (
|
||||
# egress) IP in the IP header. Only IPv4 is supported. If no ranges are
|
||||
# specified, all traffic that matches the specified IPProtocols is mirrored. If
|
||||
# neither cidrRanges nor IpProtocols is specified, all traffic is mirrored.
|
||||
# neither cidrRanges nor IPProtocols is specified, all traffic is mirrored.
|
||||
# Corresponds to the JSON property `cidrRanges`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :cidr_ranges
|
||||
|
@ -22595,7 +22496,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
||||
@ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols)
|
||||
@cidr_ranges = args[:cidr_ranges] if args.key?(:cidr_ranges)
|
||||
end
|
||||
end
|
||||
|
@ -23153,13 +23054,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# The URL of the instance. Serves as a merge key during UpdatePerInstanceConfigs
|
||||
# operation, i.e. if per-instance config with the same instance URL exists then
|
||||
# it will be updated, otherwise a new one will be created.
|
||||
# Corresponds to the JSON property `instance`
|
||||
# @return [String]
|
||||
attr_accessor :instance
|
||||
|
||||
# The name of the per-instance config and the corresponding instance. Serves as
|
||||
# a merge key during UpdatePerInstanceConfigs operation, i.e. if per-instance
|
||||
# config with the same name exists then it will be updated, otherwise a new one
|
||||
|
@ -23170,11 +23064,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Overrides of stateful properties for a given instance
|
||||
# Corresponds to the JSON property `override`
|
||||
# @return [Google::Apis::ComputeAlpha::ManagedInstanceOverride]
|
||||
attr_accessor :override
|
||||
|
||||
# Preserved state for a given instance.
|
||||
# Corresponds to the JSON property `preservedState`
|
||||
# @return [Google::Apis::ComputeAlpha::PreservedState]
|
||||
|
@ -23187,9 +23076,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@instance = args[:instance] if args.key?(:instance)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@override = args[:override] if args.key?(:override)
|
||||
@preserved_state = args[:preserved_state] if args.key?(:preserved_state)
|
||||
end
|
||||
end
|
||||
|
@ -25466,7 +25353,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# AllocationAffinity is the configuration of desired allocation which this
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
class ReservationAffinity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -26572,6 +26459,15 @@ module Google
|
|||
class ResourcePolicyVmMaintenancePolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A concurrency control configuration. Defines a group config that, when
|
||||
# attached to an instance, recognizes that instance as part of a group of
|
||||
# instances where only up the concurrency_limit of instances in that group can
|
||||
# undergo simultaneous maintenance. For more information: go/concurrency-control-
|
||||
# design-doc
|
||||
# Corresponds to the JSON property `concurrencyControlGroup`
|
||||
# @return [Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyConcurrencyControl]
|
||||
attr_accessor :concurrency_control_group
|
||||
|
||||
# A maintenance window for VMs. When set, we restrict our maintenance operations
|
||||
# to this window.
|
||||
# Corresponds to the JSON property `maintenanceWindow`
|
||||
|
@ -26584,10 +26480,34 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@concurrency_control_group = args[:concurrency_control_group] if args.key?(:concurrency_control_group)
|
||||
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
||||
end
|
||||
end
|
||||
|
||||
# A concurrency control configuration. Defines a group config that, when
|
||||
# attached to an instance, recognizes that instance as part of a group of
|
||||
# instances where only up the concurrency_limit of instances in that group can
|
||||
# undergo simultaneous maintenance. For more information: go/concurrency-control-
|
||||
# design-doc
|
||||
class ResourcePolicyVmMaintenancePolicyConcurrencyControl
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `concurrencyLimit`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :concurrency_limit
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@concurrency_limit = args[:concurrency_limit] if args.key?(:concurrency_limit)
|
||||
end
|
||||
end
|
||||
|
||||
# A maintenance window for VMs. When set, we restrict our maintenance operations
|
||||
# to this window.
|
||||
class ResourcePolicyVmMaintenancePolicyMaintenanceWindow
|
||||
|
@ -28602,6 +28522,11 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyAssociation>]
|
||||
attr_accessor :associations
|
||||
|
||||
# Configuration options for Cloud Armor.
|
||||
# Corresponds to the JSON property `cloudArmorConfig`
|
||||
# @return [Google::Apis::ComputeAlpha::SecurityPolicyCloudArmorConfig]
|
||||
attr_accessor :cloud_armor_config
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
|
@ -28702,6 +28627,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@associations = args[:associations] if args.key?(:associations)
|
||||
@cloud_armor_config = args[:cloud_armor_config] if args.key?(:cloud_armor_config)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
|
@ -28749,6 +28675,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Configuration options for Cloud Armor.
|
||||
class SecurityPolicyCloudArmorConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If set to true, enables Cloud Armor Machine Learning.
|
||||
# Corresponds to the JSON property `enableMl`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_ml
|
||||
alias_method :enable_ml?, :enable_ml
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enable_ml = args[:enable_ml] if args.key?(:enable_ml)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SecurityPolicyList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -30864,11 +30810,6 @@ module Google
|
|||
class StatefulPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Configuration of all preserved resources.
|
||||
# Corresponds to the JSON property `preservedResources`
|
||||
# @return [Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources]
|
||||
attr_accessor :preserved_resources
|
||||
|
||||
# Configuration of preserved resources.
|
||||
# Corresponds to the JSON property `preservedState`
|
||||
# @return [Google::Apis::ComputeAlpha::StatefulPolicyPreservedState]
|
||||
|
@ -30880,50 +30821,10 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@preserved_resources = args[:preserved_resources] if args.key?(:preserved_resources)
|
||||
@preserved_state = args[:preserved_state] if args.key?(:preserved_state)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class StatefulPolicyPreservedDisk
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Device name of the disk to be preserved
|
||||
# Corresponds to the JSON property `deviceName`
|
||||
# @return [String]
|
||||
attr_accessor :device_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_name = args[:device_name] if args.key?(:device_name)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration of all preserved resources.
|
||||
class StatefulPolicyPreservedResources
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Disks created on the instances that will be preserved on instance delete,
|
||||
# resize down, etc.
|
||||
# Corresponds to the JSON property `disks`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk>]
|
||||
attr_accessor :disks
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disks = args[:disks] if args.key?(:disks)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration of preserved resources.
|
||||
class StatefulPolicyPreservedState
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -31497,9 +31398,9 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :flow_sampling
|
||||
|
||||
# Can only be specified if VPC flow logging for this subnetwork is enabled.
|
||||
# Configures whether metadata fields should be added to the reported VPC flow
|
||||
# logs. Default is INCLUDE_ALL_METADATA.
|
||||
# Can only be specified if VPC flow logs for this subnetwork is enabled.
|
||||
# Configures whether all, none or a subset of metadata fields should be added to
|
||||
# the reported VPC flow logs. Default is INCLUDE_ALL_METADATA.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [String]
|
||||
attr_accessor :metadata
|
||||
|
|
|
@ -2290,24 +2290,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedInstanceOverride
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Metadatum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedInstanceOverrideDiskOverride
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ManagedInstanceVersion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3634,6 +3616,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyVmMaintenancePolicyConcurrencyControl
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourcePolicyVmMaintenancePolicyMaintenanceWindow
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3886,6 +3874,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SecurityPolicyCloudArmorConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SecurityPolicyList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -4192,18 +4186,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedDisk
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedResources
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedState
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -9465,8 +9447,6 @@ module Google
|
|||
property :instance_template, as: 'instanceTemplate'
|
||||
property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeAlpha::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeAlpha::ManagedInstanceLastAttempt::Representation
|
||||
|
||||
property :override, as: 'override', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Representation
|
||||
|
||||
property :preserved_state_from_config, as: 'preservedStateFromConfig', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
||||
|
||||
property :preserved_state_from_policy, as: 'preservedStateFromPolicy', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
||||
|
@ -9511,34 +9491,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ManagedInstanceOverride
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::ManagedInstanceOverrideDiskOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverrideDiskOverride::Representation
|
||||
|
||||
collection :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Metadatum, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Metadatum::Representation
|
||||
|
||||
property :origin, as: 'origin'
|
||||
end
|
||||
|
||||
class Metadatum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedInstanceOverrideDiskOverride
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_name, as: 'deviceName'
|
||||
property :mode, as: 'mode'
|
||||
property :source, as: 'source'
|
||||
end
|
||||
end
|
||||
|
||||
class ManagedInstanceVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -9970,7 +9922,7 @@ module Google
|
|||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :managed_holdback, as: 'managedHoldback'
|
||||
property :maintenance_policy, as: 'maintenancePolicy'
|
||||
property :name, as: 'name'
|
||||
property :node_template, as: 'nodeTemplate'
|
||||
property :self_link, as: 'selfLink'
|
||||
|
@ -10735,7 +10687,7 @@ module Google
|
|||
class PacketMirroringFilter
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :ip_protocol, as: 'IPProtocol'
|
||||
collection :ip_protocols, as: 'IPProtocols'
|
||||
collection :cidr_ranges, as: 'cidrRanges'
|
||||
end
|
||||
end
|
||||
|
@ -10893,10 +10845,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
property :instance, as: 'instance'
|
||||
property :name, as: 'name'
|
||||
property :override, as: 'override', class: Google::Apis::ComputeAlpha::ManagedInstanceOverride, decorator: Google::Apis::ComputeAlpha::ManagedInstanceOverride::Representation
|
||||
|
||||
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
||||
|
||||
end
|
||||
|
@ -11844,11 +11793,20 @@ module Google
|
|||
class ResourcePolicyVmMaintenancePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :concurrency_control_group, as: 'concurrencyControlGroup', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyConcurrencyControl, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyConcurrencyControl::Representation
|
||||
|
||||
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyMaintenanceWindow::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyVmMaintenancePolicyConcurrencyControl
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :concurrency_limit, as: 'concurrencyLimit'
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcePolicyVmMaintenancePolicyMaintenanceWindow
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -12333,6 +12291,8 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :associations, as: 'associations', class: Google::Apis::ComputeAlpha::SecurityPolicyAssociation, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAssociation::Representation
|
||||
|
||||
property :cloud_armor_config, as: 'cloudArmorConfig', class: Google::Apis::ComputeAlpha::SecurityPolicyCloudArmorConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyCloudArmorConfig::Representation
|
||||
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
|
@ -12359,6 +12319,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SecurityPolicyCloudArmorConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable_ml, as: 'enableMl'
|
||||
end
|
||||
end
|
||||
|
||||
class SecurityPolicyList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -12909,28 +12876,11 @@ module Google
|
|||
class StatefulPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :preserved_resources, as: 'preservedResources', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedResources::Representation
|
||||
|
||||
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedState, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedState::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedDisk
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_name, as: 'deviceName'
|
||||
end
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedResources
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk, decorator: Google::Apis::ComputeAlpha::StatefulPolicyPreservedDisk::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class StatefulPolicyPreservedState
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -17832,6 +17832,62 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Patches the specified PacketMirroring resource with the data included in the
|
||||
# request. This method supports PATCH semantics and uses JSON merge patch format
|
||||
# and processing rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# Name of the region for this request.
|
||||
# @param [String] packet_mirroring
|
||||
# Name of the PacketMirroring resource to patch.
|
||||
# @param [Google::Apis::ComputeAlpha::PacketMirroring] packet_mirroring_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @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::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::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_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation
|
||||
command.request_object = packet_mirroring_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['packetMirroring'] = packet_mirroring unless packet_mirroring.nil?
|
||||
command.query['requestId'] = request_id unless request_id.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
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -26000,6 +26056,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified Router resource with the data included in the request.
|
||||
# This method conforms to PUT semantics, which requests that the state of the
|
||||
# target resource be created or replaced with the state defined by the
|
||||
# representation enclosed in the request message payload.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20190530'
|
||||
REVISION = '20190607'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -9725,7 +9725,7 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# AllocationAffinity is the configuration of desired allocation which this
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
# Corresponds to the JSON property `reservationAffinity`
|
||||
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
||||
|
@ -12050,7 +12050,7 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeBeta::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# AllocationAffinity is the configuration of desired allocation which this
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
# Corresponds to the JSON property `reservationAffinity`
|
||||
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
||||
|
@ -17288,7 +17288,7 @@ module Google
|
|||
# Represent a sole-tenant Node Template resource.
|
||||
# You can use a template to define properties for nodes in a node group. For
|
||||
# more information, read Creating node groups and instances. (== resource_for
|
||||
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) NextID: 16
|
||||
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) (== NextID: 16 ==)
|
||||
class NodeTemplate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -17355,7 +17355,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# Binding properties for the physical server.
|
||||
# Sets the binding properties for the physical server. Valid values include:
|
||||
# - [Default] RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical
|
||||
# server
|
||||
# - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server
|
||||
# whenever possible
|
||||
# See Sole-tenant node options for more information.
|
||||
# Corresponds to the JSON property `serverBinding`
|
||||
# @return [Google::Apis::ComputeBeta::ServerBinding]
|
||||
attr_accessor :server_binding
|
||||
|
@ -20814,7 +20819,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# AllocationAffinity is the configuration of desired allocation which this
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
class ReservationAffinity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -25818,9 +25823,9 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :flow_sampling
|
||||
|
||||
# Can only be specified if VPC flow logging for this subnetwork is enabled.
|
||||
# Configures whether metadata fields should be added to the reported VPC flow
|
||||
# logs. Default is INCLUDE_ALL_METADATA.
|
||||
# Can only be specified if VPC flow logs for this subnetwork is enabled.
|
||||
# Configures whether all, none or a subset of metadata fields should be added to
|
||||
# the reported VPC flow logs. Default is INCLUDE_ALL_METADATA.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [String]
|
||||
attr_accessor :metadata
|
||||
|
|
|
@ -20661,6 +20661,46 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. May be empty if no such policy
|
||||
# or resource exists.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource 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::ComputeBeta::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::Policy]
|
||||
#
|
||||
# @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_resource_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Creates a new resource policy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -20787,6 +20827,49 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeBeta::RegionSetPolicyRequest] region_set_policy_request_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::ComputeBeta::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::Policy]
|
||||
#
|
||||
# @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 set_resource_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation
|
||||
command.request_object = region_set_policy_request_object
|
||||
command.response_representation = Google::Apis::ComputeBeta::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -21376,6 +21459,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified Router resource with the data included in the request.
|
||||
# This method conforms to PUT semantics, which requests that the state of the
|
||||
# target resource be created or replaced with the state defined by the
|
||||
# representation enclosed in the request message payload.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190530'
|
||||
REVISION = '20190607'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1043,6 +1043,104 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the size of the disk in base-2 GB.
|
||||
# Corresponds to the JSON property `diskSizeGb`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :disk_size_gb
|
||||
|
||||
# Specifies the disk interface to use for attaching this disk, which is either
|
||||
# SCSI or NVME. The default is SCSI. For performance characteristics of SCSI
|
||||
# over NVMe, see Local SSD performance.
|
||||
# Corresponds to the JSON property `interface`
|
||||
# @return [String]
|
||||
attr_accessor :interface
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||
@interface = args[:interface] if args.key?(:interface)
|
||||
end
|
||||
end
|
||||
|
||||
# Properties of the SKU instances being reserved.
|
||||
class AllocationSpecificSkuAllocationReservedInstanceProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies accelerator type and count.
|
||||
# Corresponds to the JSON property `guestAccelerators`
|
||||
# @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]
|
||||
attr_accessor :guest_accelerators
|
||||
|
||||
# Specifies amount of local ssd to reserve with each instance. The type of disk
|
||||
# is local-ssd.
|
||||
# Corresponds to the JSON property `localSsds`
|
||||
# @return [Array<Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk>]
|
||||
attr_accessor :local_ssds
|
||||
|
||||
# Specifies type of machine (name only) which has fixed number of vCPUs and
|
||||
# fixed amount of memory. This also includes specifying custom machine type
|
||||
# following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
# Minimum cpu platform the reservation.
|
||||
# Corresponds to the JSON property `minCpuPlatform`
|
||||
# @return [String]
|
||||
attr_accessor :min_cpu_platform
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
||||
@local_ssds = args[:local_ssds] if args.key?(:local_ssds)
|
||||
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
||||
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
||||
end
|
||||
end
|
||||
|
||||
# This reservation type allows to pre allocate specific instance configuration.
|
||||
class AllocationSpecificSkuReservation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies number of resources that are allocated.
|
||||
# Corresponds to the JSON property `count`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :count
|
||||
|
||||
# [OutputOnly] Indicates how many resource are in use.
|
||||
# Corresponds to the JSON property `inUseCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :in_use_count
|
||||
|
||||
# Properties of the SKU instances being reserved.
|
||||
# Corresponds to the JSON property `instanceProperties`
|
||||
# @return [Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties]
|
||||
attr_accessor :instance_properties
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@count = args[:count] if args.key?(:count)
|
||||
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
||||
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
||||
end
|
||||
end
|
||||
|
||||
# An instance-attached disk resource.
|
||||
class AttachedDisk
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3163,6 +3261,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# List of reservations for this commitment.
|
||||
# Corresponds to the JSON property `reservations`
|
||||
# @return [Array<Google::Apis::ComputeV1::Reservation>]
|
||||
attr_accessor :reservations
|
||||
|
||||
# A list of commitment amounts for particular resources. Note that VCPU and
|
||||
# MEMORY resource commitments must occur together.
|
||||
# Corresponds to the JSON property `resources`
|
||||
|
@ -3205,6 +3308,7 @@ module Google
|
|||
@name = args[:name] if args.key?(:name)
|
||||
@plan = args[:plan] if args.key?(:plan)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@reservations = args[:reservations] if args.key?(:reservations)
|
||||
@resources = args[:resources] if args.key?(:resources)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
|
||||
|
@ -7754,6 +7858,12 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
# Corresponds to the JSON property `reservationAffinity`
|
||||
# @return [Google::Apis::ComputeV1::ReservationAffinity]
|
||||
attr_accessor :reservation_affinity
|
||||
|
||||
# Sets the scheduling options for an Instance. NextID: 9
|
||||
# Corresponds to the JSON property `scheduling`
|
||||
# @return [Google::Apis::ComputeV1::Scheduling]
|
||||
|
@ -7838,6 +7948,7 @@ module Google
|
|||
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
||||
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
||||
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
||||
|
@ -9816,6 +9927,12 @@ module Google
|
|||
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
||||
attr_accessor :network_interfaces
|
||||
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
# Corresponds to the JSON property `reservationAffinity`
|
||||
# @return [Google::Apis::ComputeV1::ReservationAffinity]
|
||||
attr_accessor :reservation_affinity
|
||||
|
||||
# Sets the scheduling options for an Instance. NextID: 9
|
||||
# Corresponds to the JSON property `scheduling`
|
||||
# @return [Google::Apis::ComputeV1::Scheduling]
|
||||
|
@ -9853,6 +9970,7 @@ module Google
|
|||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
||||
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
||||
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
||||
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
||||
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
||||
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
||||
|
@ -14814,7 +14932,7 @@ module Google
|
|||
# Represent a sole-tenant Node Template resource.
|
||||
# You can use a template to define properties for nodes in a node group. For
|
||||
# more information, read Creating node groups and instances. (== resource_for
|
||||
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) NextID: 16
|
||||
# beta.nodeTemplates ==) (== resource_for v1.nodeTemplates ==) (== NextID: 16 ==)
|
||||
class NodeTemplate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -14881,7 +14999,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# Binding properties for the physical server.
|
||||
# Sets the binding properties for the physical server. Valid values include:
|
||||
# - [Default] RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical
|
||||
# server
|
||||
# - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server
|
||||
# whenever possible
|
||||
# See Sole-tenant node options for more information.
|
||||
# Corresponds to the JSON property `serverBinding`
|
||||
# @return [Google::Apis::ComputeV1::ServerBinding]
|
||||
attr_accessor :server_binding
|
||||
|
@ -17909,11 +18032,491 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Reservation resource NextID: 13
|
||||
class Reservation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [OutputOnly] Full or partial url for parent commitment for reservations which
|
||||
# are tied to a commitment.
|
||||
# Corresponds to the JSON property `commitment`
|
||||
# @return [String]
|
||||
attr_accessor :commitment
|
||||
|
||||
# [Output Only] Creation timestamp in RFC3339 text format.
|
||||
# Corresponds to the JSON property `creationTimestamp`
|
||||
# @return [String]
|
||||
attr_accessor :creation_timestamp
|
||||
|
||||
# An optional description of this resource. Provide this property when you
|
||||
# create the resource.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# [Output Only] Type of the resource. Always compute#reservations for
|
||||
# reservations.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The name of the resource, provided by the client when initially creating the
|
||||
# resource. The resource 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, 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
|
||||
|
||||
# [Output Only] Server-defined fully-qualified URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# This reservation type allows to pre allocate specific instance configuration.
|
||||
# Corresponds to the JSON property `specificReservation`
|
||||
# @return [Google::Apis::ComputeV1::AllocationSpecificSkuReservation]
|
||||
attr_accessor :specific_reservation
|
||||
|
||||
# Indicates whether the reservation can be consumed by VMs with "any reservation"
|
||||
# defined. If the field is set, then only VMs that target the reservation by
|
||||
# name using --reservation-affinity can consume this reservation.
|
||||
# Corresponds to the JSON property `specificReservationRequired`
|
||||
# @return [Boolean]
|
||||
attr_accessor :specific_reservation_required
|
||||
alias_method :specific_reservation_required?, :specific_reservation_required
|
||||
|
||||
# [Output Only] The status of the reservation.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
# Zone in which the reservation resides, must be provided if reservation is
|
||||
# created with commitment creation.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@commitment = args[:commitment] if args.key?(:commitment)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@specific_reservation = args[:specific_reservation] if args.key?(:specific_reservation)
|
||||
@specific_reservation_required = args[:specific_reservation_required] if args.key?(:specific_reservation_required)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@zone = args[:zone] if args.key?(:zone)
|
||||
end
|
||||
end
|
||||
|
||||
# ReservationAffinity is the configuration of desired reservation which this
|
||||
# instance could take capacity from.
|
||||
class ReservationAffinity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the type of reservation from which this instance can consume
|
||||
# resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION.
|
||||
# See Consuming reserved instances for examples.
|
||||
# Corresponds to the JSON property `consumeReservationType`
|
||||
# @return [String]
|
||||
attr_accessor :consume_reservation_type
|
||||
|
||||
# Corresponds to the label key of reservation resource.
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# Corresponds to the label values of reservation resource.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :values
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@values = args[:values] if args.key?(:values)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a list of reservations.
|
||||
class ReservationAggregatedList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] Unique identifier for the resource; defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A list of Allocation resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Hash<String,Google::Apis::ComputeV1::ReservationsScopedList>]
|
||||
attr_accessor :items
|
||||
|
||||
# Type of resource.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeV1::ReservationAggregatedList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeV1::ReservationAggregatedList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# 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)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ReservationList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# [Output Only] A list of Allocation resources.
|
||||
# Corresponds to the JSON property `items`
|
||||
# @return [Array<Google::Apis::ComputeV1::Reservation>]
|
||||
attr_accessor :items
|
||||
|
||||
# [Output Only] Type of resource.Always compute#reservationsList for listsof
|
||||
# reservations
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# [Output Only] This token allows you to get the next page of results for list
|
||||
# requests. If the number of results is larger than maxResults, use the
|
||||
# nextPageToken as a value for the query parameter pageToken in the next list
|
||||
# request. Subsequent list requests will have their own nextPageToken to
|
||||
# continue paging through the results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# [Output Only] Server-defined URL for this resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeV1::ReservationList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@items = args[:items] if args.key?(:items)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# [Output Only] Informational warning message.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeV1::ReservationList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# 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)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ReservationsResizeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Number of allocated resources can be resized with minimum = 1 and maximum =
|
||||
# 1000.
|
||||
# Corresponds to the JSON property `specificSkuCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :specific_sku_count
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@specific_sku_count = args[:specific_sku_count] if args.key?(:specific_sku_count)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ReservationsScopedList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of reservations contained in this scope.
|
||||
# Corresponds to the JSON property `reservations`
|
||||
# @return [Array<Google::Apis::ComputeV1::Reservation>]
|
||||
attr_accessor :reservations
|
||||
|
||||
# Informational warning which replaces the list of reservations when the list is
|
||||
# empty.
|
||||
# Corresponds to the JSON property `warning`
|
||||
# @return [Google::Apis::ComputeV1::ReservationsScopedList::Warning]
|
||||
attr_accessor :warning
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@reservations = args[:reservations] if args.key?(:reservations)
|
||||
@warning = args[:warning] if args.key?(:warning)
|
||||
end
|
||||
|
||||
# Informational warning which replaces the list of reservations when the list is
|
||||
# empty.
|
||||
class Warning
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
||||
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
||||
# Corresponds to the JSON property `code`
|
||||
# @return [String]
|
||||
attr_accessor :code
|
||||
|
||||
# [Output Only] Metadata about this warning in key: value format. For example:
|
||||
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
||||
# Corresponds to the JSON property `data`
|
||||
# @return [Array<Google::Apis::ComputeV1::ReservationsScopedList::Warning::Datum>]
|
||||
attr_accessor :data
|
||||
|
||||
# [Output Only] A human-readable description of the warning code.
|
||||
# Corresponds to the JSON property `message`
|
||||
# @return [String]
|
||||
attr_accessor :message
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@code = args[:code] if args.key?(:code)
|
||||
@data = args[:data] if args.key?(:data)
|
||||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
|
||||
#
|
||||
class Datum
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output Only] A key that provides more detail on the warning being returned.
|
||||
# For example, for warnings where there are no results in a list request for a
|
||||
# particular zone, this key might be scope and the key value might be the zone
|
||||
# name. Other examples might be a key indicating a deprecated resource and a
|
||||
# suggested replacement, or a warning about invalid network settings (for
|
||||
# example, if an instance attempts to perform IP forwarding but is not enabled
|
||||
# for IP forwarding).
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# [Output Only] A warning data value corresponding to the key.
|
||||
# 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)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# Commitment for a particular resource (a Commitment is composed of one or more
|
||||
# of these).
|
||||
class ResourceCommitment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Name of the accelerator type resource. Applicable only when the type is
|
||||
# ACCELERATOR.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
|
||||
# The amount of the resource purchased (in a type-dependent unit, such as bytes).
|
||||
# For vCPUs, this can just be an integer. For memory, this must be provided in
|
||||
# MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every
|
||||
|
@ -17934,6 +18537,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
||||
@amount = args[:amount] if args.key?(:amount)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
|
|
|
@ -160,6 +160,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AllocationSpecificSkuAllocationReservedInstanceProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AllocationSpecificSkuReservation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AttachedDisk
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2446,6 +2464,78 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Reservation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ReservationAffinity
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ReservationAggregatedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ReservationList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ReservationsResizeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ReservationsScopedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResourceCommitment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3910,6 +4000,36 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||
property :interface, as: 'interface'
|
||||
end
|
||||
end
|
||||
|
||||
class AllocationSpecificSkuAllocationReservedInstanceProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeV1::AcceleratorConfig, decorator: Google::Apis::ComputeV1::AcceleratorConfig::Representation
|
||||
|
||||
collection :local_ssds, as: 'localSsds', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk::Representation
|
||||
|
||||
property :machine_type, as: 'machineType'
|
||||
property :min_cpu_platform, as: 'minCpuPlatform'
|
||||
end
|
||||
end
|
||||
|
||||
class AllocationSpecificSkuReservation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :count, :numeric_string => true, as: 'count'
|
||||
property :in_use_count, :numeric_string => true, as: 'inUseCount'
|
||||
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AttachedDisk
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -4407,6 +4527,8 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :plan, as: 'plan'
|
||||
property :region, as: 'region'
|
||||
collection :reservations, as: 'reservations', class: Google::Apis::ComputeV1::Reservation, decorator: Google::Apis::ComputeV1::Reservation::Representation
|
||||
|
||||
collection :resources, as: 'resources', class: Google::Apis::ComputeV1::ResourceCommitment, decorator: Google::Apis::ComputeV1::ResourceCommitment::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
|
@ -5480,6 +5602,8 @@ module Google
|
|||
property :name, as: 'name'
|
||||
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
|
||||
|
||||
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
||||
|
||||
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
|
@ -6016,6 +6140,8 @@ module Google
|
|||
property :min_cpu_platform, as: 'minCpuPlatform'
|
||||
collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
|
||||
|
||||
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
|
||||
|
||||
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeV1::Scheduling, decorator: Google::Apis::ComputeV1::Scheduling::Representation
|
||||
|
||||
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeV1::ServiceAccount, decorator: Google::Apis::ComputeV1::ServiceAccount::Representation
|
||||
|
@ -8105,9 +8231,136 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Reservation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :commitment, as: 'commitment'
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :specific_reservation, as: 'specificReservation', class: Google::Apis::ComputeV1::AllocationSpecificSkuReservation, decorator: Google::Apis::ComputeV1::AllocationSpecificSkuReservation::Representation
|
||||
|
||||
property :specific_reservation_required, as: 'specificReservationRequired'
|
||||
property :status, as: 'status'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
||||
class ReservationAffinity
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :consume_reservation_type, as: 'consumeReservationType'
|
||||
property :key, as: 'key'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
||||
class ReservationAggregatedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
hash :items, as: 'items', class: Google::Apis::ComputeV1::ReservationsScopedList, decorator: Google::Apis::ComputeV1::ReservationsScopedList::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ReservationAggregatedList::Warning, decorator: Google::Apis::ComputeV1::ReservationAggregatedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeV1::ReservationAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::ReservationAggregatedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class ReservationList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeV1::Reservation, decorator: Google::Apis::ComputeV1::Reservation::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ReservationList::Warning, decorator: Google::Apis::ComputeV1::ReservationList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeV1::ReservationList::Warning::Datum, decorator: Google::Apis::ComputeV1::ReservationList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class ReservationsResizeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :specific_sku_count, :numeric_string => true, as: 'specificSkuCount'
|
||||
end
|
||||
end
|
||||
|
||||
class ReservationsScopedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :reservations, as: 'reservations', class: Google::Apis::ComputeV1::Reservation, decorator: Google::Apis::ComputeV1::Reservation::Representation
|
||||
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeV1::ReservationsScopedList::Warning, decorator: Google::Apis::ComputeV1::ReservationsScopedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeV1::ReservationsScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::ReservationsScopedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class ResourceCommitment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accelerator_type, as: 'acceleratorType'
|
||||
property :amount, :numeric_string => true, as: 'amount'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
|
|
|
@ -16093,6 +16093,472 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves an aggregated list of reservations.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
# 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 <.
|
||||
# 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
|
||||
# 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).
|
||||
# @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)
|
||||
# @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).
|
||||
# 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.
|
||||
# @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.
|
||||
# @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::ComputeV1::ReservationAggregatedList] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::ReservationAggregatedList]
|
||||
#
|
||||
# @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 aggregated_reservation_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/aggregated/reservations', options)
|
||||
command.response_representation = Google::Apis::ComputeV1::ReservationAggregatedList::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::ReservationAggregatedList
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
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
|
||||
|
||||
# Deletes the specified reservation.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# Name of the zone for this request.
|
||||
# @param [String] reservation
|
||||
# Name of the reservation to delete.
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @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::ComputeV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::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_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, '{project}/zones/{zone}/reservations/{reservation}', options)
|
||||
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['reservation'] = reservation unless reservation.nil?
|
||||
command.query['requestId'] = request_id unless request_id.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
|
||||
|
||||
# Retrieves all information of the specified reservation.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# Name of the zone for this request.
|
||||
# @param [String] reservation
|
||||
# Name of the reservation to retrieve.
|
||||
# @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::ComputeV1::Reservation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Reservation]
|
||||
#
|
||||
# @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_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{reservation}', options)
|
||||
command.response_representation = Google::Apis::ComputeV1::Reservation::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Reservation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['reservation'] = reservation unless reservation.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 the access control policy for a resource. May be empty if no such policy
|
||||
# or resource exists.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource 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::ComputeV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Policy]
|
||||
#
|
||||
# @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_reservation_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Creates a new reservation.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# Name of the zone for this request.
|
||||
# @param [Google::Apis::ComputeV1::Reservation] reservation_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @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::ComputeV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::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_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/reservations', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::Reservation::Representation
|
||||
command.request_object = reservation_object
|
||||
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.query['requestId'] = request_id unless request_id.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
|
||||
|
||||
# A list all the reservations that have been configured for the specified
|
||||
# project in specified zone.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# Name of the zone for this request.
|
||||
# @param [String] filter
|
||||
# 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 <.
|
||||
# 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
|
||||
# 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).
|
||||
# @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)
|
||||
# @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).
|
||||
# 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.
|
||||
# @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.
|
||||
# @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::ComputeV1::ReservationList] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::ReservationList]
|
||||
#
|
||||
# @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_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/zones/{zone}/reservations', options)
|
||||
command.response_representation = Google::Apis::ComputeV1::ReservationList::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::ReservationList
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
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
|
||||
|
||||
# Resizes the reservation (applicable to standalone reservations only)
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# Name of the zone for this request.
|
||||
# @param [String] reservation
|
||||
# Name of the reservation to update.
|
||||
# @param [Google::Apis::ComputeV1::ReservationsResizeRequest] reservations_resize_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @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::ComputeV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::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 resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{reservation}/resize', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::ReservationsResizeRequest::Representation
|
||||
command.request_object = reservations_resize_request_object
|
||||
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['reservation'] = reservation unless reservation.nil?
|
||||
command.query['requestId'] = request_id unless request_id.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
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeV1::ZoneSetPolicyRequest] zone_set_policy_request_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::ComputeV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Policy]
|
||||
#
|
||||
# @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 set_reservation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::ZoneSetPolicyRequest::Representation
|
||||
command.request_object = zone_set_policy_request_object
|
||||
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeV1::TestPermissionsRequest] test_permissions_request_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::ComputeV1::TestPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::TestPermissionsResponse]
|
||||
#
|
||||
# @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 test_reservation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::TestPermissionsRequest::Representation
|
||||
command.request_object = test_permissions_request_object
|
||||
command.response_representation = Google::Apis::ComputeV1::TestPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::TestPermissionsResponse
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Retrieves an aggregated list of resource policies.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -16254,6 +16720,46 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the access control policy for a resource. May be empty if no such policy
|
||||
# or resource exists.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource 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::ComputeV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Policy]
|
||||
#
|
||||
# @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_resource_policy_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options)
|
||||
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Creates a new resource policy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -16380,6 +16886,49 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the access control policy on the specified resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name or id of the resource for this request.
|
||||
# @param [Google::Apis::ComputeV1::RegionSetPolicyRequest] region_set_policy_request_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::ComputeV1::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Policy]
|
||||
#
|
||||
# @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 set_resource_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation
|
||||
command.request_object = region_set_policy_request_object
|
||||
command.response_representation = Google::Apis::ComputeV1::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Policy
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['resource'] = resource unless resource.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
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -16927,6 +17476,9 @@ module Google
|
|||
end
|
||||
|
||||
# Updates the specified Router resource with the data included in the request.
|
||||
# This method conforms to PUT semantics, which requests that the state of the
|
||||
# target resource be created or replaced with the state defined by the
|
||||
# representation enclosed in the request message payload.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataflow
|
||||
module DataflowV1b3
|
||||
VERSION = 'V1b3'
|
||||
REVISION = '20190519'
|
||||
REVISION = '20190607'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1478,43 +1478,10 @@ module Google
|
|||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
# three pieces of data: error code, error message, and error details.
|
||||
# You can find out more about this error model and how to work with it in the
|
||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [Google::Apis::DataflowV1b3::Status]
|
||||
attr_accessor :status
|
||||
|
@ -1565,6 +1532,38 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Proto describing a hot key detected on a given WorkItem.
|
||||
class HotKeyDetection
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The age of the hot key measured from when it was first detected.
|
||||
# Corresponds to the JSON property `hotKeyAge`
|
||||
# @return [String]
|
||||
attr_accessor :hot_key_age
|
||||
|
||||
# System-defined name of the step containing this hot key.
|
||||
# Unique across the workflow.
|
||||
# Corresponds to the JSON property `systemName`
|
||||
# @return [String]
|
||||
attr_accessor :system_name
|
||||
|
||||
# User-provided name of the step that contains this hot key.
|
||||
# Corresponds to the JSON property `userStepName`
|
||||
# @return [String]
|
||||
attr_accessor :user_step_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@hot_key_age = args[:hot_key_age] if args.key?(:hot_key_age)
|
||||
@system_name = args[:system_name] if args.key?(:system_name)
|
||||
@user_step_name = args[:user_step_name] if args.key?(:user_step_name)
|
||||
end
|
||||
end
|
||||
|
||||
# An input of an instruction, as a reference to an output of a
|
||||
# producer instruction.
|
||||
class InstructionInput
|
||||
|
@ -4287,43 +4286,10 @@ module Google
|
|||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
# three pieces of data: error code, error message, and error details.
|
||||
# You can find out more about this error model and how to work with it in the
|
||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -5182,6 +5148,11 @@ module Google
|
|||
# @return [Hash<String,Object>]
|
||||
attr_accessor :harness_data
|
||||
|
||||
# Proto describing a hot key detected on a given WorkItem.
|
||||
# Corresponds to the JSON property `hotKeyDetection`
|
||||
# @return [Google::Apis::DataflowV1b3::HotKeyDetection]
|
||||
attr_accessor :hot_key_detection
|
||||
|
||||
# Time at which the current lease will expire.
|
||||
# Corresponds to the JSON property `leaseExpireTime`
|
||||
# @return [String]
|
||||
|
@ -5233,6 +5204,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@harness_data = args[:harness_data] if args.key?(:harness_data)
|
||||
@hot_key_detection = args[:hot_key_detection] if args.key?(:hot_key_detection)
|
||||
@lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time)
|
||||
@metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id)
|
||||
@next_report_index = args[:next_report_index] if args.key?(:next_report_index)
|
||||
|
|
|
@ -250,6 +250,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HotKeyDetection
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InstructionInput
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -1281,6 +1287,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class HotKeyDetection
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :hot_key_age, as: 'hotKeyAge'
|
||||
property :system_name, as: 'systemName'
|
||||
property :user_step_name, as: 'userStepName'
|
||||
end
|
||||
end
|
||||
|
||||
class InstructionInput
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -2256,6 +2271,8 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :harness_data, as: 'harnessData'
|
||||
property :hot_key_detection, as: 'hotKeyDetection', class: Google::Apis::DataflowV1b3::HotKeyDetection, decorator: Google::Apis::DataflowV1b3::HotKeyDetection::Representation
|
||||
|
||||
property :lease_expire_time, as: 'leaseExpireTime'
|
||||
collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation
|
||||
|
||||
|
|
|
@ -20,12 +20,13 @@ module Google
|
|||
module Apis
|
||||
# Tag Manager API
|
||||
#
|
||||
# Accesses Tag Manager accounts and containers.
|
||||
# This API allows clients to access and modify container and tag
|
||||
# configuration.
|
||||
#
|
||||
# @see https://developers.google.com/tag-manager/api/v1/
|
||||
# @see https://developers.google.com/tag-manager
|
||||
module TagmanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190516'
|
||||
REVISION = '20190617'
|
||||
|
||||
# Delete your Google Tag Manager containers
|
||||
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
||||
|
|
|
@ -31,18 +31,22 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :account_id
|
||||
|
||||
# The fingerprint of the GTM Account as computed at storage time. This value is
|
||||
# recomputed whenever the account is modified.
|
||||
# The fingerprint of the GTM Account as computed at storage time.
|
||||
# This value is recomputed whenever the account is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Account display name.
|
||||
# @mutable tagmanager.accounts.create
|
||||
# @mutable tagmanager.accounts.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Whether the account shares data anonymously with Google and others.
|
||||
# @mutable tagmanager.accounts.create
|
||||
# @mutable tagmanager.accounts.update
|
||||
# Corresponds to the JSON property `shareData`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_data
|
||||
|
@ -65,7 +69,10 @@ module Google
|
|||
class AccountAccess
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# List of Account permissions. Valid account permissions are read and manage.
|
||||
# List of Account permissions.
|
||||
# Valid account permissions are <code>read</code> and <code>manage</code>.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `permission`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permission
|
||||
|
@ -85,20 +92,29 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of named parameters (key/value), depending on the condition's type.
|
||||
# Notes:
|
||||
# - For binary operators, include parameters named arg0 and arg1 for specifying
|
||||
# the left and right operands, respectively.
|
||||
# - At this time, the left operand (arg0) must be a reference to a variable.
|
||||
# - For case-insensitive Regex matching, include a boolean parameter named
|
||||
# ignore_case that is set to true. If not specified or set to any other value,
|
||||
# the matching will be case sensitive.
|
||||
# - To negate an operator, include a boolean parameter named negate boolean
|
||||
# parameter that is set to true.
|
||||
# Notes:<ul>
|
||||
# <li>For binary operators, include parameters named <code>arg0</code> and
|
||||
# <code>arg1</code> for specifying the left and right operands,
|
||||
# respectively.</li>
|
||||
# <li>At this time, the left operand (<code>arg0</code>) must be a reference
|
||||
# to a variable.</li>
|
||||
# <li>For case-insensitive Regex matching, include a boolean parameter named
|
||||
# <code>ignore_case</code> that is set to <code>true</code>.
|
||||
# If not specified or set to any other value, the matching will be case
|
||||
# sensitive.</li>
|
||||
# <li>To negate an operator, include a boolean parameter named
|
||||
# <code>negate</code> boolean parameter that is set to <code>true</code>.
|
||||
# </li>
|
||||
# </ul>
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
||||
# The type of operator for this condition.
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -129,32 +145,41 @@ module Google
|
|||
attr_accessor :container_id
|
||||
|
||||
# Optional list of domain names associated with the Container.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `domainName`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :domain_name
|
||||
|
||||
# List of enabled built-in variables. Valid values include: pageUrl,
|
||||
# pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId,
|
||||
# clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget,
|
||||
# formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment,
|
||||
# oldHistoryFragment, newHistoryState, oldHistoryState, historySource,
|
||||
# containerVersion, debugMode, randomNumber, containerId.
|
||||
# List of enabled built-in variables. Valid values include: <code>pageUrl,
|
||||
# pageHostname, pagePath, referrer, event, clickElement, clickClasses,
|
||||
# clickId, clickTarget, clickUrl, clickText, formElement, formClasses,
|
||||
# formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine,
|
||||
# newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState,
|
||||
# historySource, containerVersion, debugMode, randomNumber,
|
||||
# containerId</code>.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `enabledBuiltInVariable`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :enabled_built_in_variable
|
||||
|
||||
# The fingerprint of the GTM Container as computed at storage time. This value
|
||||
# is recomputed whenever the account is modified.
|
||||
# The fingerprint of the GTM Container as computed at storage time. This
|
||||
# value is recomputed whenever the account is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Container display name.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Container Notes.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
@ -165,17 +190,23 @@ module Google
|
|||
attr_accessor :public_id
|
||||
|
||||
# Container Country ID.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `timeZoneCountryId`
|
||||
# @return [String]
|
||||
attr_accessor :time_zone_country_id
|
||||
|
||||
# Container Time Zone ID.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `timeZoneId`
|
||||
# @return [String]
|
||||
attr_accessor :time_zone_id
|
||||
|
||||
# List of Usage Contexts for the Container. Valid values include: web, android,
|
||||
# ios.
|
||||
# List of Usage Contexts for the Container. Valid values include: <code>web,
|
||||
# android, ios</code>.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `usageContext`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :usage_context
|
||||
|
@ -205,12 +236,16 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# GTM Container ID.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `containerId`
|
||||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# List of Container permissions. Valid container permissions are: read, edit,
|
||||
# delete, publish.
|
||||
# List of Container permissions.
|
||||
# Valid container permissions are: <code>read, edit, delete, publish</code>.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `permission`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permission
|
||||
|
@ -256,8 +291,9 @@ module Google
|
|||
attr_accessor :deleted
|
||||
alias_method :deleted?, :deleted
|
||||
|
||||
# The fingerprint of the GTM Container Version as computed at storage time. This
|
||||
# value is recomputed whenever the container version is modified.
|
||||
# The fingerprint of the GTM Container Version as computed at
|
||||
# storage time. This value is recomputed whenever the container version is
|
||||
# modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -273,11 +309,14 @@ module Google
|
|||
attr_accessor :macro
|
||||
|
||||
# Container version display name.
|
||||
# @mutable tagmanager.accounts.containers.versions.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this container version in the container.
|
||||
# User notes on how to apply this container version in the
|
||||
# container.
|
||||
# @mutable tagmanager.accounts.containers.versions.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
@ -413,7 +452,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# The creation of this version may be for quick preview and shouldn't be saved.
|
||||
# The creation of this version may be for quick preview and
|
||||
# shouldn't be saved.
|
||||
# Corresponds to the JSON property `quickPreview`
|
||||
# @return [Boolean]
|
||||
attr_accessor :quick_preview
|
||||
|
@ -490,11 +530,15 @@ module Google
|
|||
|
||||
# The environment description. Can be set or changed only on USER type
|
||||
# environments.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Whether or not to enable debug by default on for the environment.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `enableDebug`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_debug
|
||||
|
@ -505,14 +549,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :environment_id
|
||||
|
||||
# The fingerprint of the GTM environment as computed at storage time. This value
|
||||
# is recomputed whenever the environment is modified.
|
||||
# The fingerprint of the GTM environment as computed at storage time.
|
||||
# This value is recomputed whenever the environment is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# The environment display name. Can be set or changed only on USER type
|
||||
# environments.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -523,6 +569,8 @@ module Google
|
|||
attr_accessor :type
|
||||
|
||||
# Default preview page url for the environment.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
@ -562,8 +610,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Folder as computed at storage time. This value is
|
||||
# recomputed whenever the folder is modified.
|
||||
# The fingerprint of the GTM Folder as computed at storage time.
|
||||
# This value is recomputed whenever the folder is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -574,6 +622,8 @@ module Google
|
|||
attr_accessor :folder_id
|
||||
|
||||
# Folder display name.
|
||||
# @mutable tagmanager.accounts.containers.folders.create
|
||||
# @mutable tagmanager.accounts.containers.folders.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -817,19 +867,23 @@ module Google
|
|||
# For mobile containers only: A list of rule IDs for disabling conditional
|
||||
# macros; the macro is enabled if one of the enabling rules is true while all
|
||||
# the disabling rules are false. Treated as an unordered set.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `disablingRuleId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :disabling_rule_id
|
||||
|
||||
# For mobile containers only: A list of rule IDs for enabling conditional macros;
|
||||
# the macro is enabled if one of the enabling rules is true while all the
|
||||
# disabling rules are false. Treated as an unordered set.
|
||||
# For mobile containers only: A list of rule IDs for enabling conditional
|
||||
# macros; the macro is enabled if one of the enabling rules is true while all
|
||||
# the disabling rules are false. Treated as an unordered set.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `enablingRuleId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :enabling_rule_id
|
||||
|
||||
# The fingerprint of the GTM Macro as computed at storage time. This value is
|
||||
# recomputed whenever the macro is modified.
|
||||
# The fingerprint of the GTM Macro as computed at storage time.
|
||||
# This value is recomputed whenever the macro is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -840,16 +894,22 @@ module Google
|
|||
attr_accessor :macro_id
|
||||
|
||||
# Macro display name.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this macro in the container.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# The macro's parameters.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -860,16 +920,22 @@ module Google
|
|||
attr_accessor :parent_folder_id
|
||||
|
||||
# The end timestamp in milliseconds to schedule a macro.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `scheduleEndMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_end_ms
|
||||
|
||||
# The start timestamp in milliseconds to schedule a macro.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `scheduleStartMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_start_ms
|
||||
|
||||
# GTM Macro Type.
|
||||
# @mutable tagmanager.accounts.containers.macros.create
|
||||
# @mutable tagmanager.accounts.containers.macros.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -900,37 +966,72 @@ module Google
|
|||
class Parameter
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The named key that uniquely identifies a parameter. Required for top-level
|
||||
# parameters, as well as map values. Ignored for list values.
|
||||
# The named key that uniquely identifies a parameter. Required for top-level
|
||||
# parameters, as well as map values. Ignored for list values.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# This list parameter's parameters (keys will be ignored).
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `list`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :list
|
||||
|
||||
# This map parameter's parameters (must have keys; keys must be unique).
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `map`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :map
|
||||
|
||||
# The parameter type. Valid values are:
|
||||
# - boolean: The value represents a boolean, represented as 'true' or 'false'
|
||||
# - integer: The value represents a 64-bit signed integer value, in base 10
|
||||
# - list: A list of parameters should be specified
|
||||
# - map: A map of parameters should be specified
|
||||
# - template: The value represents any text; this can include variable
|
||||
# references (even variable references that might return non-string types)
|
||||
# - trigger_reference: The value represents a trigger, represented as the
|
||||
# trigger id
|
||||
# The parameter type. Valid values are:<ul>
|
||||
# <li><code>boolean</code>: The value represents a boolean, represented as
|
||||
# 'true' or 'false'</li>
|
||||
# <li><code>integer</code>: The value represents a 64-bit signed integer
|
||||
# value, in base 10</li>
|
||||
# <li><code>list</code>: A list of parameters should be specified</li>
|
||||
# <li><code>map</code>: A map of parameters should be specified</li>
|
||||
# <li><code>template</code>: The value represents any text; this can include
|
||||
# variable references (even variable references that might return
|
||||
# non-string types)</li>
|
||||
# <li><code>trigger_reference</code>: The value represents a trigger,
|
||||
# represented as the trigger id</li>
|
||||
# </ul>
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# A parameter's value (may contain variable references such as "``myVariable``")
|
||||
# A parameter's value (may contain variable references such as
|
||||
# "``myVariable``")
|
||||
# as appropriate to the specified type.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
@ -985,6 +1086,8 @@ module Google
|
|||
attr_accessor :account_id
|
||||
|
||||
# The list of conditions that make up this rule (implicit AND between them).
|
||||
# @mutable tagmanager.accounts.containers.rules.create
|
||||
# @mutable tagmanager.accounts.containers.rules.update
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
||||
attr_accessor :condition
|
||||
|
@ -994,18 +1097,22 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Rule as computed at storage time. This value is
|
||||
# recomputed whenever the rule is modified.
|
||||
# The fingerprint of the GTM Rule as computed at storage time.
|
||||
# This value is recomputed whenever the rule is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Rule display name.
|
||||
# @mutable tagmanager.accounts.containers.rules.create
|
||||
# @mutable tagmanager.accounts.containers.rules.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this rule in the container.
|
||||
# @mutable tagmanager.accounts.containers.rules.create
|
||||
# @mutable tagmanager.accounts.containers.rules.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
@ -1035,8 +1142,9 @@ module Google
|
|||
class SetupTag
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If true, fire the main tag if and only if the setup tag fires successfully. If
|
||||
# false, fire the main tag regardless of setup tag firing status.
|
||||
# If true, fire the main tag if and only if the setup tag fires
|
||||
# successfully.
|
||||
# If false, fire the main tag regardless of setup tag firing status.
|
||||
# Corresponds to the JSON property `stopOnSetupFailure`
|
||||
# @return [Boolean]
|
||||
attr_accessor :stop_on_setup_failure
|
||||
|
@ -1067,14 +1175,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :account_id
|
||||
|
||||
# Blocking rule IDs. If any of the listed rules evaluate to true, the tag will
|
||||
# not fire.
|
||||
# Blocking rule IDs. If any of the listed rules evaluate to true, the tag
|
||||
# will not fire.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `blockingRuleId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :blocking_rule_id
|
||||
|
||||
# Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag
|
||||
# Blocking trigger IDs. If any of the listed triggers evaluate to true, the
|
||||
# tag
|
||||
# will not fire.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `blockingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :blocking_trigger_id
|
||||
|
@ -1084,42 +1197,55 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Tag as computed at storage time. This value is
|
||||
# recomputed whenever the tag is modified.
|
||||
# The fingerprint of the GTM Tag as computed at storage time.
|
||||
# This value is recomputed whenever the tag is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Firing rule IDs. A tag will fire when any of the listed rules are true and all
|
||||
# of its blockingRuleIds (if any specified) are false.
|
||||
# Firing rule IDs. A tag will fire when any of the listed rules are true and
|
||||
# all of its <code>blockingRuleIds</code> (if any specified) are false.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `firingRuleId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :firing_rule_id
|
||||
|
||||
# Firing trigger IDs. A tag will fire when any of the listed triggers are true
|
||||
# and all of its blockingTriggerIds (if any specified) are false.
|
||||
# Firing trigger IDs. A tag will fire when any of the listed triggers are
|
||||
# true and all of its <code>blockingTriggerIds</code> (if any specified) are
|
||||
# false.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `firingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :firing_trigger_id
|
||||
|
||||
# If set to true, this tag will only fire in the live environment (e.g. not in
|
||||
# preview or debug mode).
|
||||
# If set to true, this tag will only fire in the live environment (e.g. not
|
||||
# in preview or debug mode).
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `liveOnly`
|
||||
# @return [Boolean]
|
||||
attr_accessor :live_only
|
||||
alias_method :live_only?, :live_only
|
||||
|
||||
# Tag display name.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this tag in the container.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# The tag's parameters.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -1130,6 +1256,8 @@ module Google
|
|||
attr_accessor :parent_folder_id
|
||||
|
||||
# True if the tag is paused.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `paused`
|
||||
# @return [Boolean]
|
||||
attr_accessor :paused
|
||||
|
@ -1141,11 +1269,15 @@ module Google
|
|||
attr_accessor :priority
|
||||
|
||||
# The end timestamp in milliseconds to schedule a tag.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `scheduleEndMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_end_ms
|
||||
|
||||
# The start timestamp in milliseconds to schedule a tag.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `scheduleStartMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_start_ms
|
||||
|
@ -1171,6 +1303,8 @@ module Google
|
|||
attr_accessor :teardown_tag
|
||||
|
||||
# GTM Tag Type.
|
||||
# @mutable tagmanager.accounts.containers.tags.create
|
||||
# @mutable tagmanager.accounts.containers.tags.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -1209,7 +1343,8 @@ module Google
|
|||
class TeardownTag
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If true, fire the teardown tag if and only if the main tag fires successfully.
|
||||
# If true, fire the teardown tag if and only if the main tag fires
|
||||
# successfully.
|
||||
# If false, fire the teardown tag regardless of main tag firing status.
|
||||
# Corresponds to the JSON property `stopTeardownOnFailure`
|
||||
# @return [Boolean]
|
||||
|
@ -1242,6 +1377,8 @@ module Google
|
|||
attr_accessor :account_id
|
||||
|
||||
# Used in the case of auto event tracking.
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `autoEventFilter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
||||
attr_accessor :auto_event_filter
|
||||
|
@ -1261,7 +1398,10 @@ module Google
|
|||
# @return [Google::Apis::TagmanagerV1::Parameter]
|
||||
attr_accessor :continuous_time_min_milliseconds
|
||||
|
||||
# Used in the case of custom event, which is fired iff all Conditions are true.
|
||||
# Used in the case of custom event, which is fired iff all Conditions are
|
||||
# true.
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `customEventFilter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
||||
attr_accessor :custom_event_filter
|
||||
|
@ -1272,12 +1412,14 @@ module Google
|
|||
attr_accessor :event_name
|
||||
|
||||
# The trigger will only fire iff all Conditions are true.
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `filter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Condition>]
|
||||
attr_accessor :filter
|
||||
|
||||
# The fingerprint of the GTM Trigger as computed at storage time. This value is
|
||||
# recomputed whenever the trigger is modified.
|
||||
# The fingerprint of the GTM Trigger as computed at storage time.
|
||||
# This value is recomputed whenever the trigger is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -1308,11 +1450,15 @@ module Google
|
|||
attr_accessor :max_timer_length_seconds
|
||||
|
||||
# Trigger display name.
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Additional parameters.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -1338,6 +1484,8 @@ module Google
|
|||
attr_accessor :trigger_id
|
||||
|
||||
# Defines the data layer event that causes this trigger.
|
||||
# @mutable tagmanager.accounts.containers.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.triggers.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -1429,11 +1577,14 @@ module Google
|
|||
attr_accessor :account_id
|
||||
|
||||
# GTM Container access permissions.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `containerAccess`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::ContainerAccess>]
|
||||
attr_accessor :container_access
|
||||
|
||||
# User's email address.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# Corresponds to the JSON property `emailAddress`
|
||||
# @return [String]
|
||||
attr_accessor :email_address
|
||||
|
@ -1474,6 +1625,8 @@ module Google
|
|||
# For mobile containers only: A list of trigger IDs for disabling conditional
|
||||
# variables; the variable is enabled if one of the enabling trigger is true
|
||||
# while all the disabling trigger are false. Treated as an unordered set.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `disablingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :disabling_trigger_id
|
||||
|
@ -1481,27 +1634,35 @@ module Google
|
|||
# For mobile containers only: A list of trigger IDs for enabling conditional
|
||||
# variables; the variable is enabled if one of the enabling triggers is true
|
||||
# while all the disabling triggers are false. Treated as an unordered set.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `enablingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :enabling_trigger_id
|
||||
|
||||
# The fingerprint of the GTM Variable as computed at storage time. This value is
|
||||
# recomputed whenever the variable is modified.
|
||||
# The fingerprint of the GTM Variable as computed at storage time.
|
||||
# This value is recomputed whenever the variable is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Variable display name.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this variable in the container.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# The variable's parameters.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV1::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -1512,16 +1673,22 @@ module Google
|
|||
attr_accessor :parent_folder_id
|
||||
|
||||
# The end timestamp in milliseconds to schedule a variable.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `scheduleEndMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_end_ms
|
||||
|
||||
# The start timestamp in milliseconds to schedule a variable.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `scheduleStartMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_start_ms
|
||||
|
||||
# GTM Variable Type.
|
||||
# @mutable tagmanager.accounts.containers.variables.create
|
||||
# @mutable tagmanager.accounts.containers.variables.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -20,12 +20,13 @@ module Google
|
|||
module Apis
|
||||
# Tag Manager API
|
||||
#
|
||||
# Accesses Tag Manager accounts and containers.
|
||||
# This API allows clients to access and modify container and tag
|
||||
# configuration.
|
||||
#
|
||||
# @see https://developers.google.com/tag-manager/api/v2/
|
||||
# @see https://developers.google.com/tag-manager
|
||||
module TagmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190516'
|
||||
REVISION = '20190617'
|
||||
|
||||
# Delete your Google Tag Manager containers
|
||||
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
||||
|
|
|
@ -31,13 +31,15 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :account_id
|
||||
|
||||
# The fingerprint of the GTM Account as computed at storage time. This value is
|
||||
# recomputed whenever the account is modified.
|
||||
# The fingerprint of the GTM Account as computed at storage time.
|
||||
# This value is recomputed whenever the account is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Account display name.
|
||||
# @mutable tagmanager.accounts.create
|
||||
# @mutable tagmanager.accounts.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -47,11 +49,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :path
|
||||
|
||||
# Whether the account shares data anonymously with Google and others. This flag
|
||||
# enables benchmarking by sharing your data in an anonymous form. Google will
|
||||
# remove all identifiable information about your website, combine the data with
|
||||
# hundreds of other anonymous sites and report aggregate trends in the
|
||||
# benchmarking service.
|
||||
# Whether the account shares data anonymously with Google and others.
|
||||
# This flag enables benchmarking by sharing your data in an anonymous form.
|
||||
# Google will remove all identifiable information about your website, combine
|
||||
# the data with hundreds of other anonymous sites and report aggregate trends
|
||||
# in the benchmarking service.
|
||||
# @mutable tagmanager.accounts.create
|
||||
# @mutable tagmanager.accounts.update
|
||||
# Corresponds to the JSON property `shareData`
|
||||
# @return [Boolean]
|
||||
attr_accessor :share_data
|
||||
|
@ -82,6 +86,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether the user has no access, user access, or admin access to an account.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `permission`
|
||||
# @return [String]
|
||||
attr_accessor :permission
|
||||
|
@ -98,8 +104,8 @@ module Google
|
|||
|
||||
# Built-in variables are a special category of variables that are pre-created
|
||||
# and non-customizable. They provide common functionality like accessing
|
||||
# propeties of the gtm data layer, monitoring clicks, or accessing elements of a
|
||||
# page URL.
|
||||
# propeties of the gtm data layer, monitoring clicks, or accessing elements
|
||||
# of a page URL.
|
||||
class BuiltInVariable
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -124,6 +130,8 @@ module Google
|
|||
attr_accessor :path
|
||||
|
||||
# Type of built-in variable.
|
||||
# @required.tagmanager.accounts.containers.workspaces.built_in_variable.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.built_in_variable.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -153,20 +161,29 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of named parameters (key/value), depending on the condition's type.
|
||||
# Notes:
|
||||
# - For binary operators, include parameters named arg0 and arg1 for specifying
|
||||
# the left and right operands, respectively.
|
||||
# - At this time, the left operand (arg0) must be a reference to a variable.
|
||||
# - For case-insensitive Regex matching, include a boolean parameter named
|
||||
# ignore_case that is set to true. If not specified or set to any other value,
|
||||
# the matching will be case sensitive.
|
||||
# - To negate an operator, include a boolean parameter named negate boolean
|
||||
# parameter that is set to true.
|
||||
# Notes:<ul>
|
||||
# <li>For binary operators, include parameters named <code>arg0</code> and
|
||||
# <code>arg1</code> for specifying the left and right operands,
|
||||
# respectively.</li>
|
||||
# <li>At this time, the left operand (<code>arg0</code>) must be a reference
|
||||
# to a variable.</li>
|
||||
# <li>For case-insensitive Regex matching, include a boolean parameter named
|
||||
# <code>ignore_case</code> that is set to <code>true</code>.
|
||||
# If not specified or set to any other value, the matching will be case
|
||||
# sensitive.</li>
|
||||
# <li>To negate an operator, include a boolean parameter named
|
||||
# <code>negate</code> boolean parameter that is set to <code>true</code>.
|
||||
# </li>
|
||||
# </ul>
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
||||
# The type of operator for this condition.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -198,22 +215,28 @@ module Google
|
|||
attr_accessor :container_id
|
||||
|
||||
# List of domain names associated with the Container.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `domainName`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :domain_name
|
||||
|
||||
# The fingerprint of the GTM Container as computed at storage time. This value
|
||||
# is recomputed whenever the account is modified.
|
||||
# The fingerprint of the GTM Container as computed at storage time. This
|
||||
# value is recomputed whenever the account is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Container display name.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Container Notes.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
@ -233,8 +256,10 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :tag_manager_url
|
||||
|
||||
# List of Usage Contexts for the Container. Valid values include: web, android,
|
||||
# or ios.
|
||||
# List of Usage Contexts for the Container. Valid values include: <code>web,
|
||||
# android, or ios</code>.
|
||||
# @mutable tagmanager.accounts.containers.create
|
||||
# @mutable tagmanager.accounts.containers.update
|
||||
# Corresponds to the JSON property `usageContext`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :usage_context
|
||||
|
@ -263,11 +288,15 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# GTM Container ID.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `containerId`
|
||||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# List of Container permissions.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `permission`
|
||||
# @return [String]
|
||||
attr_accessor :permission
|
||||
|
@ -325,12 +354,14 @@ module Google
|
|||
alias_method :deleted?, :deleted
|
||||
|
||||
# Container version description.
|
||||
# @mutable tagmanager.accounts.containers.versions.update
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# The fingerprint of the GTM Container Version as computed at storage time. This
|
||||
# value is recomputed whenever the container version is modified.
|
||||
# The fingerprint of the GTM Container Version as computed at
|
||||
# storage time. This value is recomputed whenever the container version is
|
||||
# modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -341,6 +372,7 @@ module Google
|
|||
attr_accessor :folder
|
||||
|
||||
# Container version display name.
|
||||
# @mutable tagmanager.accounts.containers.versions.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -553,7 +585,8 @@ module Google
|
|||
attr_accessor :container_version
|
||||
|
||||
# Auto generated workspace path created as a result of version creation. This
|
||||
# field should only be populated if the created version was not a quick preview.
|
||||
# field should only be populated if the created version was not a quick
|
||||
# preview.
|
||||
# Corresponds to the JSON property `newWorkspacePath`
|
||||
# @return [String]
|
||||
attr_accessor :new_workspace_path
|
||||
|
@ -590,8 +623,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Custom Template as computed at storage time. This
|
||||
# value is recomputed whenever the template is modified.
|
||||
# The fingerprint of the GTM Custom Template as computed at storage time.
|
||||
# This value is recomputed whenever the template is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -704,61 +737,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :authorization_code
|
||||
|
||||
# A Timestamp represents a point in time independent of any time zone or local
|
||||
# calendar, encoded as a count of seconds and fractions of seconds at nanosecond
|
||||
# resolution. The count is relative to an epoch at UTC midnight on January 1,
|
||||
# 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar
|
||||
# backwards to year one.
|
||||
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
||||
# second table is needed for interpretation, using a [24-hour linear smear](
|
||||
# https://developers.google.com/time/smear).
|
||||
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
||||
# restricting to that range, we ensure that we can convert to and from [RFC 3339]
|
||||
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
||||
# # Examples
|
||||
# Example 1: Compute Timestamp from POSIX `time()`.
|
||||
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
||||
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
||||
# struct timeval tv; gettimeofday(&tv, NULL);
|
||||
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
||||
# tv_usec * 1000);
|
||||
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
||||
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
||||
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
||||
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
||||
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
||||
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
||||
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
||||
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
||||
# long millis = System.currentTimeMillis();
|
||||
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
||||
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
||||
# Example 5: Compute Timestamp from current time in Python.
|
||||
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
||||
# # JSON Mapping
|
||||
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
||||
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
||||
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
||||
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
||||
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
||||
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
||||
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
||||
# serializer should always use UTC (as indicated by "Z") when printing the
|
||||
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
||||
# other timezones (as indicated by an offset).
|
||||
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
||||
# January 15, 2017.
|
||||
# In JavaScript, one can convert a Date object to this format using the standard
|
||||
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
||||
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
||||
# datetime.datetime` object can be converted to this format using [`strftime`](
|
||||
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
||||
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
||||
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
||||
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
||||
# formatter capable of generating timestamps in this format.
|
||||
# The last update time-stamp for the authorization code.
|
||||
# Corresponds to the JSON property `authorizationTimestamp`
|
||||
# @return [Google::Apis::TagmanagerV2::Timestamp]
|
||||
# @return [String]
|
||||
attr_accessor :authorization_timestamp
|
||||
|
||||
# GTM Container ID.
|
||||
|
@ -773,11 +754,15 @@ module Google
|
|||
|
||||
# The environment description. Can be set or changed only on USER type
|
||||
# environments.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Whether or not to enable debug by default for the environment.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `enableDebug`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_debug
|
||||
|
@ -788,14 +773,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :environment_id
|
||||
|
||||
# The fingerprint of the GTM environment as computed at storage time. This value
|
||||
# is recomputed whenever the environment is modified.
|
||||
# The fingerprint of the GTM environment as computed at storage time.
|
||||
# This value is recomputed whenever the environment is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# The environment display name. Can be set or changed only on USER type
|
||||
# environments.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -816,6 +803,8 @@ module Google
|
|||
attr_accessor :type
|
||||
|
||||
# Default preview page url for the environment.
|
||||
# @mutable tagmanager.accounts.containers.environments.create
|
||||
# @mutable tagmanager.accounts.containers.environments.update
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
@ -863,8 +852,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Folder as computed at storage time. This value is
|
||||
# recomputed whenever the folder is modified.
|
||||
# The fingerprint of the GTM Folder as computed at storage time.
|
||||
# This value is recomputed whenever the folder is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -875,11 +864,15 @@ module Google
|
|||
attr_accessor :folder_id
|
||||
|
||||
# Folder display name.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.folders.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.folders.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this folder in the container.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.folders.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.folders.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
@ -1336,37 +1329,72 @@ module Google
|
|||
class Parameter
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The named key that uniquely identifies a parameter. Required for top-level
|
||||
# parameters, as well as map values. Ignored for list values.
|
||||
# The named key that uniquely identifies a parameter. Required for top-level
|
||||
# parameters, as well as map values. Ignored for list values.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
# This list parameter's parameters (keys will be ignored).
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `list`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :list
|
||||
|
||||
# This map parameter's parameters (must have keys; keys must be unique).
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `map`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :map
|
||||
|
||||
# The parameter type. Valid values are:
|
||||
# - boolean: The value represents a boolean, represented as 'true' or 'false'
|
||||
# - integer: The value represents a 64-bit signed integer value, in base 10
|
||||
# - list: A list of parameters should be specified
|
||||
# - map: A map of parameters should be specified
|
||||
# - template: The value represents any text; this can include variable
|
||||
# references (even variable references that might return non-string types)
|
||||
# - trigger_reference: The value represents a trigger, represented as the
|
||||
# trigger id
|
||||
# The parameter type. Valid values are:<ul>
|
||||
# <li><code>boolean</code>: The value represents a boolean, represented as
|
||||
# 'true' or 'false'</li>
|
||||
# <li><code>integer</code>: The value represents a 64-bit signed integer
|
||||
# value, in base 10</li>
|
||||
# <li><code>list</code>: A list of parameters should be specified</li>
|
||||
# <li><code>map</code>: A map of parameters should be specified</li>
|
||||
# <li><code>template</code>: The value represents any text; this can include
|
||||
# variable references (even variable references that might return
|
||||
# non-string types)</li>
|
||||
# <li><code>trigger_reference</code>: The value represents a trigger,
|
||||
# represented as the trigger id</li>
|
||||
# </ul>
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# A parameter's value (may contain variable references such as "``myVariable``")
|
||||
# A parameter's value (may contain variable references such as
|
||||
# "``myVariable``")
|
||||
# as appropriate to the specified type.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
@ -1577,13 +1605,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a reference to atag that fires before another tag in order to set
|
||||
# up dependencies.
|
||||
# Represents a reference to atag that fires before another tag in order to
|
||||
# set up dependencies.
|
||||
class SetupTag
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If true, fire the main tag if and only if the setup tag fires successfully. If
|
||||
# false, fire the main tag regardless of setup tag firing status.
|
||||
# If true, fire the main tag if and only if the setup tag fires
|
||||
# successfully.
|
||||
# If false, fire the main tag regardless of setup tag firing status.
|
||||
# Corresponds to the JSON property `stopOnSetupFailure`
|
||||
# @return [Boolean]
|
||||
attr_accessor :stop_on_setup_failure
|
||||
|
@ -1636,9 +1665,9 @@ module Google
|
|||
class SyncWorkspaceResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The merge conflict after sync. If this field is not empty, the sync is still
|
||||
# treated as successful. But a version cannot be created until all conflicts are
|
||||
# resolved.
|
||||
# The merge conflict after sync.
|
||||
# If this field is not empty, the sync is still treated as successful.
|
||||
# But a version cannot be created until all conflicts are resolved.
|
||||
# Corresponds to the JSON property `mergeConflict`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::MergeConflict>]
|
||||
attr_accessor :merge_conflict
|
||||
|
@ -1668,14 +1697,18 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :account_id
|
||||
|
||||
# Blocking rule IDs. If any of the listed rules evaluate to true, the tag will
|
||||
# not fire.
|
||||
# Blocking rule IDs. If any of the listed rules evaluate to true, the tag
|
||||
# will not fire.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `blockingRuleId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :blocking_rule_id
|
||||
|
||||
# Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag
|
||||
# will not fire.
|
||||
# Blocking trigger IDs. If any of the listed triggers evaluate to true, the
|
||||
# tag will not fire.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `blockingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :blocking_trigger_id
|
||||
|
@ -1685,42 +1718,55 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Tag as computed at storage time. This value is
|
||||
# recomputed whenever the tag is modified.
|
||||
# The fingerprint of the GTM Tag as computed at storage time.
|
||||
# This value is recomputed whenever the tag is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Firing rule IDs. A tag will fire when any of the listed rules are true and all
|
||||
# of its blockingRuleIds (if any specified) are false.
|
||||
# Firing rule IDs. A tag will fire when any of the listed rules are true and
|
||||
# all of its <code>blockingRuleIds</code> (if any specified) are false.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `firingRuleId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :firing_rule_id
|
||||
|
||||
# Firing trigger IDs. A tag will fire when any of the listed triggers are true
|
||||
# and all of its blockingTriggerIds (if any specified) are false.
|
||||
# Firing trigger IDs. A tag will fire when any of the listed triggers are
|
||||
# true and all of its <code>blockingTriggerIds</code> (if any specified) are
|
||||
# false.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `firingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :firing_trigger_id
|
||||
|
||||
# If set to true, this tag will only fire in the live environment (e.g. not in
|
||||
# preview or debug mode).
|
||||
# If set to true, this tag will only fire in the live environment (e.g. not
|
||||
# in preview or debug mode).
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `liveOnly`
|
||||
# @return [Boolean]
|
||||
attr_accessor :live_only
|
||||
alias_method :live_only?, :live_only
|
||||
|
||||
# Tag display name.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this tag in the container.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# The tag's parameters.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -1736,6 +1782,8 @@ module Google
|
|||
attr_accessor :path
|
||||
|
||||
# Indicates whether the tag is paused, which prevents the tag from firing.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `paused`
|
||||
# @return [Boolean]
|
||||
attr_accessor :paused
|
||||
|
@ -1747,11 +1795,15 @@ module Google
|
|||
attr_accessor :priority
|
||||
|
||||
# The end timestamp in milliseconds to schedule a tag.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `scheduleEndMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_end_ms
|
||||
|
||||
# The start timestamp in milliseconds to schedule a tag.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `scheduleStartMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_start_ms
|
||||
|
@ -1782,6 +1834,8 @@ module Google
|
|||
attr_accessor :teardown_tag
|
||||
|
||||
# GTM Tag Type.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.tags.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -1829,7 +1883,8 @@ module Google
|
|||
class TeardownTag
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# If true, fire the teardown tag if and only if the main tag fires successfully.
|
||||
# If true, fire the teardown tag if and only if the main tag fires
|
||||
# successfully.
|
||||
# If false, fire the teardown tag regardless of main tag firing status.
|
||||
# Corresponds to the JSON property `stopTeardownOnFailure`
|
||||
# @return [Boolean]
|
||||
|
@ -1852,86 +1907,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A Timestamp represents a point in time independent of any time zone or local
|
||||
# calendar, encoded as a count of seconds and fractions of seconds at nanosecond
|
||||
# resolution. The count is relative to an epoch at UTC midnight on January 1,
|
||||
# 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar
|
||||
# backwards to year one.
|
||||
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
||||
# second table is needed for interpretation, using a [24-hour linear smear](
|
||||
# https://developers.google.com/time/smear).
|
||||
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
||||
# restricting to that range, we ensure that we can convert to and from [RFC 3339]
|
||||
# (https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
||||
# # Examples
|
||||
# Example 1: Compute Timestamp from POSIX `time()`.
|
||||
# Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0);
|
||||
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
||||
# struct timeval tv; gettimeofday(&tv, NULL);
|
||||
# Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.
|
||||
# tv_usec * 1000);
|
||||
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
||||
# FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.
|
||||
# dwHighDateTime) << 32) | ft.dwLowDateTime;
|
||||
# // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is
|
||||
# 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp
|
||||
# timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
||||
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
||||
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
||||
# long millis = System.currentTimeMillis();
|
||||
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .
|
||||
# setNanos((int) ((millis % 1000) * 1000000)).build();
|
||||
# Example 5: Compute Timestamp from current time in Python.
|
||||
# timestamp = Timestamp() timestamp.GetCurrentTime()
|
||||
# # JSON Mapping
|
||||
# In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](
|
||||
# https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-`
|
||||
# month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always
|
||||
# expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are
|
||||
# zero-padded to two digits each. The fractional seconds, which can go up to 9
|
||||
# digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix
|
||||
# indicates the timezone ("UTC"); the timezone is required. A proto3 JSON
|
||||
# serializer should always use UTC (as indicated by "Z") when printing the
|
||||
# Timestamp type and a proto3 JSON parser should be able to accept both UTC and
|
||||
# other timezones (as indicated by an offset).
|
||||
# For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on
|
||||
# January 15, 2017.
|
||||
# In JavaScript, one can convert a Date object to this format using the standard
|
||||
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
||||
# Reference/Global_Objects/Date/toISOString) method. In Python, a standard `
|
||||
# datetime.datetime` object can be converted to this format using [`strftime`](
|
||||
# https://docs.python.org/2/library/time.html#time.strftime) with the time
|
||||
# format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda
|
||||
# Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/
|
||||
# org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a
|
||||
# formatter capable of generating timestamps in this format.
|
||||
class Timestamp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Non-negative fractions of a second at nanosecond resolution. Negative second
|
||||
# values with fractions must still have non-negative nanos values that count
|
||||
# forward in time. Must be from 0 to 999,999,999 inclusive.
|
||||
# Corresponds to the JSON property `nanos`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :nanos
|
||||
|
||||
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be
|
||||
# from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.
|
||||
# Corresponds to the JSON property `seconds`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :seconds
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@nanos = args[:nanos] if args.key?(:nanos)
|
||||
@seconds = args[:seconds] if args.key?(:seconds)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a Google Tag Manager Trigger
|
||||
class Trigger
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1942,6 +1917,8 @@ module Google
|
|||
attr_accessor :account_id
|
||||
|
||||
# Used in the case of auto event tracking.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `autoEventFilter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Condition>]
|
||||
attr_accessor :auto_event_filter
|
||||
|
@ -1961,7 +1938,10 @@ module Google
|
|||
# @return [Google::Apis::TagmanagerV2::Parameter]
|
||||
attr_accessor :continuous_time_min_milliseconds
|
||||
|
||||
# Used in the case of custom event, which is fired iff all Conditions are true.
|
||||
# Used in the case of custom event, which is fired iff all Conditions are
|
||||
# true.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `customEventFilter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Condition>]
|
||||
attr_accessor :custom_event_filter
|
||||
|
@ -1972,12 +1952,14 @@ module Google
|
|||
attr_accessor :event_name
|
||||
|
||||
# The trigger will only fire iff all Conditions are true.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `filter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Condition>]
|
||||
attr_accessor :filter
|
||||
|
||||
# The fingerprint of the GTM Trigger as computed at storage time. This value is
|
||||
# recomputed whenever the trigger is modified.
|
||||
# The fingerprint of the GTM Trigger as computed at storage time.
|
||||
# This value is recomputed whenever the trigger is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -2008,16 +1990,22 @@ module Google
|
|||
attr_accessor :max_timer_length_seconds
|
||||
|
||||
# Trigger display name.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this trigger in the container.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# Additional parameters.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -2053,6 +2041,8 @@ module Google
|
|||
attr_accessor :trigger_id
|
||||
|
||||
# Defines the data layer event that causes this trigger.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.triggers.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -2153,11 +2143,14 @@ module Google
|
|||
attr_accessor :account_id
|
||||
|
||||
# GTM Container access permissions.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# @mutable tagmanager.accounts.permissions.update
|
||||
# Corresponds to the JSON property `containerAccess`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::ContainerAccess>]
|
||||
attr_accessor :container_access
|
||||
|
||||
# User's email address.
|
||||
# @mutable tagmanager.accounts.permissions.create
|
||||
# Corresponds to the JSON property `emailAddress`
|
||||
# @return [String]
|
||||
attr_accessor :email_address
|
||||
|
@ -2198,6 +2191,8 @@ module Google
|
|||
# For mobile containers only: A list of trigger IDs for disabling conditional
|
||||
# variables; the variable is enabled if one of the enabling trigger is true
|
||||
# while all the disabling trigger are false. Treated as an unordered set.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `disablingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :disabling_trigger_id
|
||||
|
@ -2205,12 +2200,14 @@ module Google
|
|||
# For mobile containers only: A list of trigger IDs for enabling conditional
|
||||
# variables; the variable is enabled if one of the enabling triggers is true
|
||||
# while all the disabling triggers are false. Treated as an unordered set.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `enablingTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :enabling_trigger_id
|
||||
|
||||
# The fingerprint of the GTM Variable as computed at storage time. This value is
|
||||
# recomputed whenever the variable is modified.
|
||||
# The fingerprint of the GTM Variable as computed at storage time.
|
||||
# This value is recomputed whenever the variable is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -2221,16 +2218,22 @@ module Google
|
|||
attr_accessor :format_value
|
||||
|
||||
# Variable display name.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this variable in the container.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# The variable's parameters.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
@ -2246,11 +2249,15 @@ module Google
|
|||
attr_accessor :path
|
||||
|
||||
# The end timestamp in milliseconds to schedule a variable.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `scheduleEndMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_end_ms
|
||||
|
||||
# The start timestamp in milliseconds to schedule a variable.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `scheduleStartMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :schedule_start_ms
|
||||
|
@ -2261,6 +2268,8 @@ module Google
|
|||
attr_accessor :tag_manager_url
|
||||
|
||||
# GTM Variable Type.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.variables.update
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -2360,17 +2369,21 @@ module Google
|
|||
attr_accessor :container_id
|
||||
|
||||
# Workspace description.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.update
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# The fingerprint of the GTM Workspace as computed at storage time. This value
|
||||
# is recomputed whenever the workspace is modified.
|
||||
# The fingerprint of the GTM Workspace as computed at storage time. This
|
||||
# value is recomputed whenever the workspace is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Workspace display name.
|
||||
# @mutable tagmanager.accounts.containers.workspaces.create
|
||||
# @mutable tagmanager.accounts.containers.workspaces.update
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -2431,8 +2444,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Zone as computed at storage time. This value is
|
||||
# recomputed whenever the zone is modified.
|
||||
# The fingerprint of the GTM Zone as computed at storage time.
|
||||
# This value is recomputed whenever the zone is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
@ -2502,8 +2515,8 @@ module Google
|
|||
# @return [Array<Google::Apis::TagmanagerV2::Condition>]
|
||||
attr_accessor :condition
|
||||
|
||||
# Custom evaluation trigger IDs. A zone will evaluate its boundary conditions
|
||||
# when any of the listed triggers are true.
|
||||
# Custom evaluation trigger IDs. A zone will evaluate its boundary
|
||||
# conditions when any of the listed triggers are true.
|
||||
# Corresponds to the JSON property `customEvaluationTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :custom_evaluation_trigger_id
|
||||
|
|
|
@ -298,12 +298,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Timestamp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Trigger
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -535,8 +529,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, as: 'accountId'
|
||||
property :authorization_code, as: 'authorizationCode'
|
||||
property :authorization_timestamp, as: 'authorizationTimestamp', class: Google::Apis::TagmanagerV2::Timestamp, decorator: Google::Apis::TagmanagerV2::Timestamp::Representation
|
||||
|
||||
property :authorization_timestamp, as: 'authorizationTimestamp'
|
||||
property :container_id, as: 'containerId'
|
||||
property :container_version_id, as: 'containerVersionId'
|
||||
property :description, as: 'description'
|
||||
|
@ -873,14 +866,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Timestamp
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :nanos, as: 'nanos'
|
||||
property :seconds, :numeric_string => true, as: 'seconds'
|
||||
end
|
||||
end
|
||||
|
||||
class Trigger
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tpu/
|
||||
module TpuV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190509'
|
||||
REVISION = '20190619'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -292,8 +292,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :cidr_block
|
||||
|
||||
# Output only.
|
||||
# The time when the node was created.
|
||||
# Output only. The time when the node was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
@ -308,15 +307,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :health
|
||||
|
||||
# Output only.
|
||||
# If this field is populated, it contains a description of why the TPU Node
|
||||
# Output only. If this field is populated, it contains a description of why the
|
||||
# TPU Node
|
||||
# is unhealthy.
|
||||
# Corresponds to the JSON property `healthDescription`
|
||||
# @return [String]
|
||||
attr_accessor :health_description
|
||||
|
||||
# Output only.
|
||||
# DEPRECATED! Use network_endpoints instead.
|
||||
# Output only. DEPRECATED! Use network_endpoints instead.
|
||||
# The network address for the TPU Node as visible to Compute Engine
|
||||
# instances.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
|
@ -328,8 +326,7 @@ module Google
|
|||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Output only.
|
||||
# The immutable name of the TPU
|
||||
# Output only. The immutable name of the TPU
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -348,8 +345,7 @@ module Google
|
|||
# @return [Array<Google::Apis::TpuV1alpha1::NetworkEndpoint>]
|
||||
attr_accessor :network_endpoints
|
||||
|
||||
# Output only.
|
||||
# DEPRECATED! Use network_endpoints instead.
|
||||
# Output only. DEPRECATED! Use network_endpoints instead.
|
||||
# The network port for the TPU Node as visible to Compute Engine instances.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [String]
|
||||
|
@ -360,8 +356,8 @@ module Google
|
|||
# @return [Google::Apis::TpuV1alpha1::SchedulingConfig]
|
||||
attr_accessor :scheduling_config
|
||||
|
||||
# Output only.
|
||||
# The service account used to run the tensor flow services within the node.
|
||||
# Output only. The service account used to run the tensor flow services within
|
||||
# the node.
|
||||
# To share resources, including Google Cloud Storage data, with the
|
||||
# Tensorflow job running in the Node, this account must have permissions to
|
||||
# that data.
|
||||
|
@ -369,8 +365,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :service_account
|
||||
|
||||
# Output only.
|
||||
# The current state for the TPU Node.
|
||||
# Output only. The current state for the TPU Node.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
@ -421,43 +416,10 @@ module Google
|
|||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
# three pieces of data: error code, error message, and error details.
|
||||
# You can find out more about this error model and how to work with it in the
|
||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
||||
# Corresponds to the JSON property `error`
|
||||
# @return [Google::Apis::TpuV1alpha1::Status]
|
||||
attr_accessor :error
|
||||
|
@ -623,43 +585,10 @@ module Google
|
|||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
# three pieces of data: error code, error message, and error details.
|
||||
# You can find out more about this error model and how to work with it in the
|
||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
Loading…
Reference in New Issue