Autogenerated update (2018-07-10)
Update: - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appsactivity_v1 - appstate_v1 - bigquery_v2 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - civicinfo_v2 - cloudiot_v1 - compute_alpha - compute_beta - compute_v1 - content_v2sandbox - customsearch_v1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - identitytoolkit_v3 - licensing_v1 - mirror_v1 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - script_v1 - site_verification_v1 - slides_v1 - spectrum_v1explorer - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - toolresults_v1beta3 - urlshortener_v1 - webfonts_v1 - webmasters_v3 - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_v3
This commit is contained in:
1 parent
ce7e85ad7c
commit
ef45bf2443
123 files changed
+3457
-749
No files matched your search
@@ -1167,7 +1167,8 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the disk name. If not specified, the default is to use the name of
|
||||
# the instance.
|
||||
# the instance. If the disk with the instance name exists already in the given
|
||||
# zone/region, a new name will be automatically generated.
|
||||
# Corresponds to the JSON property `diskName`
|
||||
# @return [String]
|
||||
attr_accessor :disk_name
|
||||
@@ -2389,6 +2390,8 @@ module Google
|
||||
# This field is used in optimistic locking. This field will be ignored when
|
||||
# inserting a BackendService. An up-to-date fingerprint must be provided in
|
||||
# order to update the BackendService.
|
||||
# To see the latest fingerprint, make a get() request to retrieve a
|
||||
# BackendService.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
@@ -4831,7 +4834,8 @@ module Google
|
||||
class DistributionPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Zones where the regional managed instance group will create and manage
|
||||
# instances.
|
||||
# Corresponds to the JSON property `zones`
|
||||
# @return [Array<Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration>]
|
||||
attr_accessor :zones
|
||||
@@ -4850,9 +4854,8 @@ module Google
|
||||
class DistributionPolicyZoneConfiguration
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# URL of the zone where managed instance group is spawning instances (for
|
||||
# regional resources). Zone has to belong to the region where managed instance
|
||||
# group is located.
|
||||
# The URL of the zone. The zone must exist in the region where the managed
|
||||
# instance group is located.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
@@ -5339,6 +5342,9 @@ module Google
|
||||
# an ephemeral IPv4 address from the same scope (global or regional) will be
|
||||
# assigned. A regional forwarding rule supports IPv4 only. A global forwarding
|
||||
# rule supports either IPv4 or IPv6.
|
||||
# When the load balancing scheme is INTERNAL_SELF_MANAGED, this must be a URL
|
||||
# reference to an existing Address resource ( internal regional static IP
|
||||
# address).
|
||||
# When the load balancing scheme is INTERNAL, this can only be an RFC 1918 IP
|
||||
# address belonging to the network/subnet configured for the forwarding rule. By
|
||||
# default, if this field is empty, an ephemeral internal IP address will be
|
||||
@@ -5359,12 +5365,13 @@ module Google
|
||||
|
||||
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
|
||||
# AH, SCTP or ICMP.
|
||||
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid.
|
||||
# When the load balancing scheme is INTERNAL, only TCP and UDP are valid. When
|
||||
# the load balancing scheme is INTERNAL_SELF_MANAGED, only TCPis valid.
|
||||
# Corresponds to the JSON property `IPProtocol`
|
||||
# @return [String]
|
||||
attr_accessor :ip_protocol
|
||||
|
||||
# This field is not used for external load balancing.
|
||||
# This field is only used for INTERNAL load balancing.
|
||||
# For internal load balancing, this field identifies the BackendService resource
|
||||
# to receive the matched traffic.
|
||||
# Corresponds to the JSON property `backendService`
|
||||
@@ -5389,7 +5396,8 @@ module Google
|
||||
attr_accessor :id
|
||||
|
||||
# The IP Version that will be used by this forwarding rule. Valid options are
|
||||
# IPV4 or IPV6. This can only be specified for a global forwarding rule.
|
||||
# IPV4 or IPV6. This can only be specified for an external global forwarding
|
||||
# rule.
|
||||
# Corresponds to the JSON property `ipVersion`
|
||||
# @return [String]
|
||||
attr_accessor :ip_version
|
||||
@@ -5420,10 +5428,11 @@ module Google
|
||||
attr_accessor :labels
|
||||
|
||||
# This signifies what the ForwardingRule will be used for and can only take the
|
||||
# following values: INTERNAL, EXTERNAL The value of INTERNAL means that this
|
||||
# will be used for Internal Network Load Balancing (TCP, UDP). The value of
|
||||
# EXTERNAL means that this will be used for External Load Balancing (HTTP(S) LB,
|
||||
# External TCP/UDP LB, SSL Proxy)
|
||||
# following values: INTERNAL, INTERNAL_SELF_MANAGED, EXTERNAL. The value of
|
||||
# INTERNAL means that this will be used for Internal Network Load Balancing (TCP,
|
||||
# UDP). The value of INTERNAL_SELF_MANAGED means that this will be used for
|
||||
# Internal Global HTTP(S) LB. The value of EXTERNAL means that this will be used
|
||||
# for External Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy)
|
||||
# Corresponds to the JSON property `loadBalancingScheme`
|
||||
# @return [String]
|
||||
attr_accessor :load_balancing_scheme
|
||||
@@ -5439,9 +5448,9 @@ module Google
|
||||
attr_accessor :name
|
||||
|
||||
# This field is not used for external load balancing.
|
||||
# For internal load balancing, this field identifies the network that the load
|
||||
# balanced IP should belong to for this Forwarding Rule. If this field is not
|
||||
# specified, the default network will be used.
|
||||
# For INTERNAL and INTERNAL_SELF_MANAGED load balancing, this field identifies
|
||||
# the network that the load balanced IP should belong to for this Forwarding
|
||||
# Rule. If this field is not specified, the default network will be used.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
@@ -5516,7 +5525,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :service_name
|
||||
|
||||
# This field is not used for external load balancing.
|
||||
# This field is only used for INTERNAL load balancing.
|
||||
# For internal load balancing, this field identifies the subnetwork that the
|
||||
# load balanced IP should belong to for this Forwarding Rule.
|
||||
# If the network specified is in auto subnet mode, this field is optional.
|
||||
@@ -5530,7 +5539,8 @@ module Google
|
||||
# forwarding rules, this target must live in the same region as the forwarding
|
||||
# rule. For global forwarding rules, this target must be a global load balancing
|
||||
# resource. The forwarded traffic must be of a type appropriate to the target
|
||||
# object.
|
||||
# object. For INTERNAL_SELF_MANAGED" load balancing, only HTTP and HTTPS targets
|
||||
# are valid.
|
||||
# Corresponds to the JSON property `target`
|
||||
# @return [String]
|
||||
attr_accessor :target
|
||||
@@ -7158,9 +7168,9 @@ module Google
|
||||
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
||||
attr_accessor :source_disk_encryption_key
|
||||
|
||||
# The ID value of the disk used to create this image. This value may be used to
|
||||
# determine whether the image was taken from the current or a previous instance
|
||||
# of a given disk name.
|
||||
# [Output Only] The ID value of the disk used to create this image. This value
|
||||
# may be used to determine whether the image was taken from the current or a
|
||||
# previous instance of a given disk name.
|
||||
# Corresponds to the JSON property `sourceDiskId`
|
||||
# @return [String]
|
||||
attr_accessor :source_disk_id
|
||||
@@ -8128,7 +8138,8 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Policy valid only for regional managed instance groups.
|
||||
# Policy specifying intended distribution of instances in regional managed
|
||||
# instance group.
|
||||
# Corresponds to the JSON property `distributionPolicy`
|
||||
# @return [Google::Apis::ComputeBeta::DistributionPolicy]
|
||||
attr_accessor :distribution_policy
|
||||
@@ -8142,6 +8153,8 @@ module Google
|
||||
# Fingerprint of this resource. This field may be used in optimistic locking. It
|
||||
# will be ignored when inserting an InstanceGroupManager. An up-to-date
|
||||
# fingerprint must be provided in order to update the InstanceGroupManager.
|
||||
# To see the latest fingerprint, make a get() request to retrieve an
|
||||
# InstanceGroupManager.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
@@ -12538,6 +12551,7 @@ module Google
|
||||
# initially generated by Compute Engine and changes after every request to
|
||||
# modify or update metadata. You must always provide an up-to-date fingerprint
|
||||
# hash in order to update or change metadata.
|
||||
# To see the latest fingerprint, make a get() request to retrieve the resource.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
@@ -12733,8 +12747,8 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The name for a specific VM instance that the IP address belongs to. This is
|
||||
# required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The
|
||||
# instance must be in the same zone of network endpoint group.
|
||||
# required for network endpoints of type GCE_VM_IP_PORT. The instance must be in
|
||||
# the same zone of network endpoint group.
|
||||
# The name must be 1-63 characters long, and comply with RFC1035.
|
||||
# Corresponds to the JSON property `instance`
|
||||
# @return [String]
|
||||
@@ -12794,8 +12808,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# Load balancing specific fields for network endpoint group of type
|
||||
# LOAD_BALANCING.
|
||||
# Load balancing specific fields for network endpoint group.
|
||||
# Corresponds to the JSON property `loadBalancer`
|
||||
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupLbNetworkEndpointGroup]
|
||||
attr_accessor :load_balancer
|
||||
@@ -12810,8 +12823,8 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Type of network endpoints in this network endpoint group. Only supported
|
||||
# values for LOAD_BALANCING are GCE_VM_IP or GCE_VM_IP_PORT.
|
||||
# Type of network endpoints in this network endpoint group. Currently the only
|
||||
# supported value is GCE_VM_IP_PORT.
|
||||
# Corresponds to the JSON property `networkEndpointType`
|
||||
# @return [String]
|
||||
attr_accessor :network_endpoint_type
|
||||
@@ -12826,12 +12839,6 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :size
|
||||
|
||||
# Specify the type of this network endpoint group. Only LOAD_BALANCING is valid
|
||||
# for now.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -12847,7 +12854,6 @@ module Google
|
||||
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@size = args[:size] if args.key?(:size)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12970,14 +12976,12 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Load balancing specific fields for network endpoint group of type
|
||||
# LOAD_BALANCING.
|
||||
# Load balancing specific fields for network endpoint group.
|
||||
class NetworkEndpointGroupLbNetworkEndpointGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The default port used if the port number is not specified in the network
|
||||
# endpoint. If the network endpoint type is GCE_VM_IP, this field must not be
|
||||
# specified.
|
||||
# endpoint.
|
||||
# Corresponds to the JSON property `defaultPort`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :default_port
|
||||
@@ -14100,6 +14104,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :node_type
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -14109,6 +14118,7 @@ module Google
|
||||
@instances = args[:instances] if args.key?(:instances)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@node_type = args[:node_type] if args.key?(:node_type)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -19873,6 +19883,7 @@ module Google
|
||||
# This field is used in optimistic locking. This field will be ignored when
|
||||
# inserting a SslPolicy. An up-to-date fingerprint must be provided in order to
|
||||
# update the SslPolicy.
|
||||
# To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
@@ -20072,6 +20083,7 @@ module Google
|
||||
# This field is used in optimistic locking. This field will be ignored when
|
||||
# inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
|
||||
# update the Subnetwork.
|
||||
# To see the latest fingerprint, make a get() request to retrieve a Subnetwork.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
@@ -22614,7 +22626,7 @@ module Google
|
||||
# fingerprint is initially generated by Compute Engine and changes after every
|
||||
# request to modify or update labels. You must always provide an up-to-date
|
||||
# fingerprint hash in order to update or change labels.
|
||||
# To see the latest fingerprint, make a get() request to retrieve an
|
||||
# To see the latest fingerprint, make a get() request to retrieve a
|
||||
# TargetVpnGateway.
|
||||
# Corresponds to the JSON property `labelFingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
@@ -23159,6 +23171,7 @@ module Google
|
||||
# This field is used in optimistic locking. This field will be ignored when
|
||||
# inserting a UrlMap. An up-to-date fingerprint must be provided in order to
|
||||
# update the UrlMap.
|
||||
# To see the latest fingerprint, make a get() request to retrieve a UrlMap.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
@@ -24596,56 +24609,6 @@ module Google
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ZoneSetPolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
||||
# policy' to specify bindings.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
||||
attr_accessor :bindings
|
||||
|
||||
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
||||
# policy' to specify the etag.
|
||||
# Corresponds to the JSON property `etag`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
||||
# access control policies for Cloud Platform resources.
|
||||
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
||||
# members` to a `role`, where the members can be user accounts, Google groups,
|
||||
# Google domains, and service accounts. A `role` is a named list of permissions
|
||||
# defined by IAM.
|
||||
# **JSON Example**
|
||||
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
||||
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
||||
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# **YAML Example**
|
||||
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
||||
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam/docs).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::ComputeBeta::Policy]
|
||||
attr_accessor :policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bindings = args[:bindings] if args.key?(:bindings)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@policy = args[:policy] if args.key?(:policy)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -3418,12 +3418,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ZoneSetPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AcceleratorConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -6530,7 +6524,6 @@ module Google
|
||||
property :network_endpoint_type, as: 'networkEndpointType'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :size, as: 'size'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -6869,6 +6862,7 @@ module Google
|
||||
collection :instances, as: 'instances'
|
||||
property :name, as: 'name'
|
||||
property :node_type, as: 'nodeType'
|
||||
property :status, as: 'status'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9606,17 +9600,6 @@ module Google
|
||||
hash :labels, as: 'labels'
|
||||
end
|
||||
end
|
||||
|
||||
class ZoneSetPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -11954,46 +11954,6 @@ 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] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name 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_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{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['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 NodeGroup resource in the specified project using the data included
|
||||
# in the request.
|
||||
# @param [String] project
|
||||
@@ -12123,49 +12083,6 @@ 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] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# @param [Google::Apis::ComputeBeta::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::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_node_group_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}/nodeGroups/{resource}/setIamPolicy', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation
|
||||
command.request_object = zone_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['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
|
||||
|
||||
# Updates the node template of the node group.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -12220,48 +12137,6 @@ module Google
|
||||
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 of the resource for this request.
|
||||
# @param [Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::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_node_group_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}/nodeGroups/{resource}/testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
||||
command.request_object = test_permissions_request_object
|
||||
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::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 node templates.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -12424,46 +12299,6 @@ 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 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_node_template_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{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 NodeTemplate resource in the specified project using the data
|
||||
# included in the request.
|
||||
# @param [String] project
|
||||
@@ -12590,91 +12425,6 @@ 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 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_node_template_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}/nodeTemplates/{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.
|
||||
# @param [String] region
|
||||
# The name of the region for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# @param [Google::Apis::ComputeBeta::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::ComputeBeta::TestPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeBeta::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_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation
|
||||
command.request_object = test_permissions_request_object
|
||||
command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse
|
||||
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
|
||||
|
||||
# Retrieves an aggregated list of node types.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
||||
Reference in new issue
Block a user