Autogenerated update (2018-02-16)
Update: - cloudresourcemanager_v1 - compute_alpha - compute_beta - compute_v1 - container_v1beta1 - dataproc_v1beta2 - logging_v2 - logging_v2beta1 - manufacturers_v1 - safebrowsing_v4 - youtube_partner_v1
This commit is contained in:
1 parent
7e1540d1e1
commit
aed0b6c760
28 files changed
+458
-67
No files matched your search
@@ -1262,7 +1262,7 @@ module Google
|
||||
# If there are AuditConfigs for both `allServices` and a specific service, the
|
||||
# union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditConfig are exempted.
|
||||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
@@ -1272,8 +1272,7 @@ module Google
|
||||
# ] `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
||||
# com from DATA_WRITE logging. This message is only visible as GOOGLE_INTERNAL
|
||||
# or IAM_AUDIT_CONFIG.
|
||||
# com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -4205,7 +4204,8 @@ module Google
|
||||
attr_accessor :storage_type
|
||||
|
||||
# URL of the disk type resource describing which disk type to use to create the
|
||||
# disk. Provide this when creating the disk.
|
||||
# disk. Provide this when creating the disk. For example: project/zones/zone/
|
||||
# diskTypes/pd-standard or pd-ssd
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
@@ -5736,10 +5736,10 @@ module Google
|
||||
# Some types of forwarding target have constraints on the acceptable ports:
|
||||
# - TargetHttpProxy: 80, 8080
|
||||
# - TargetHttpsProxy: 443
|
||||
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883,
|
||||
# 5222
|
||||
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883,
|
||||
# 5222
|
||||
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
||||
# 1883, 5222
|
||||
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
||||
# 1883, 5222
|
||||
# - TargetVpnGateway: 500, 4500
|
||||
# Corresponds to the JSON property `portRange`
|
||||
# @return [String]
|
||||
@@ -11168,6 +11168,11 @@ module Google
|
||||
# @return [Array<Google::Apis::ComputeAlpha::ServiceAccount>]
|
||||
attr_accessor :service_accounts
|
||||
|
||||
# A set of Shielded VM options.
|
||||
# Corresponds to the JSON property `shieldedVmConfig`
|
||||
# @return [Google::Apis::ComputeAlpha::ShieldedVmConfig]
|
||||
attr_accessor :shielded_vm_config
|
||||
|
||||
# A set of instance tags.
|
||||
# Corresponds to the JSON property `tags`
|
||||
# @return [Google::Apis::ComputeAlpha::Tags]
|
||||
@@ -11190,6 +11195,7 @@ module Google
|
||||
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
||||
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
||||
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
||||
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
||||
@tags = args[:tags] if args.key?(:tags)
|
||||
end
|
||||
end
|
||||
@@ -12000,6 +12006,17 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Desired availability domain for the attachment. Can only be specified when
|
||||
# creating PARTNER-type InterconnectAttachments.
|
||||
# For improved reliability, customers should configure a pair of attachments
|
||||
# with one per availability domain. The selected availability domain will be
|
||||
# provided to the Partner via the pairing key so that the provisioned circuit
|
||||
# will lie in the specified domain. If not specified, the value will default to
|
||||
# AVAILABILITY_DOMAIN_ANY.
|
||||
# Corresponds to the JSON property `edgeAvailabilityDomain`
|
||||
# @return [String]
|
||||
attr_accessor :edge_availability_domain
|
||||
|
||||
# [Output Only] Google reference ID, to be used when raising support tickets
|
||||
# with Google or otherwise to debug backend connectivity issues.
|
||||
# Corresponds to the JSON property `googleReferenceId`
|
||||
@@ -12139,6 +12156,7 @@ module Google
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
|
||||
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@interconnect = args[:interconnect] if args.key?(:interconnect)
|
||||
@@ -16750,8 +16768,7 @@ module Google
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies cloud audit logging configuration for this policy. This field is
|
||||
# only visible as GOOGLE_INTERNAL or IAM_AUDIT_CONFIG.
|
||||
# Specifies cloud audit logging configuration for this policy.
|
||||
# Corresponds to the JSON property `auditConfigs`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
@@ -20640,10 +20657,10 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# [Output Only] Expiry time of the certificate. RFC3339
|
||||
# Corresponds to the JSON property `expiryTime`
|
||||
# [Output Only] Expire time of the certificate. RFC3339
|
||||
# Corresponds to the JSON property `expireTime`
|
||||
# @return [String]
|
||||
attr_accessor :expiry_time
|
||||
attr_accessor :expire_time
|
||||
|
||||
# [Output Only] The unique identifier for the resource. This identifier is
|
||||
# defined by the server.
|
||||
@@ -20710,7 +20727,7 @@ module Google
|
||||
@certificate = args[:certificate] if args.key?(:certificate)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@expiry_time = args[:expiry_time] if args.key?(:expiry_time)
|
||||
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@managed = args[:managed] if args.key?(:managed)
|
||||
@@ -21324,6 +21341,14 @@ module Google
|
||||
attr_accessor :enable_flow_logs
|
||||
alias_method :enable_flow_logs?, :enable_flow_logs
|
||||
|
||||
# Whether the VMs in this subnet can directly access Google services via
|
||||
# internal IPv6 addresses. This field can be both set at resource creation time
|
||||
# and updated using patch.
|
||||
# Corresponds to the JSON property `enablePrivateV6Access`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_private_v6_access
|
||||
alias_method :enable_private_v6_access?, :enable_private_v6_access
|
||||
|
||||
# Fingerprint of this resource. A hash of the contents stored in this object.
|
||||
# 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
|
||||
@@ -21414,6 +21439,7 @@ module Google
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs)
|
||||
@enable_private_v6_access = args[:enable_private_v6_access] if args.key?(:enable_private_v6_access)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
|
||||
@@ -6307,6 +6307,8 @@ module Google
|
||||
|
||||
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
|
||||
|
||||
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
|
||||
|
||||
property :tags, as: 'tags', class: Google::Apis::ComputeAlpha::Tags, decorator: Google::Apis::ComputeAlpha::Tags::Representation
|
||||
|
||||
end
|
||||
@@ -6521,6 +6523,7 @@ module Google
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :customer_router_ip_address, as: 'customerRouterIpAddress'
|
||||
property :description, as: 'description'
|
||||
property :edge_availability_domain, as: 'edgeAvailabilityDomain'
|
||||
property :google_reference_id, as: 'googleReferenceId'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :interconnect, as: 'interconnect'
|
||||
@@ -8766,7 +8769,7 @@ module Google
|
||||
property :certificate, as: 'certificate'
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :expiry_time, as: 'expiryTime'
|
||||
property :expire_time, as: 'expireTime'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :managed, as: 'managed', class: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate::Representation
|
||||
@@ -8943,6 +8946,7 @@ module Google
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :enable_flow_logs, as: 'enableFlowLogs'
|
||||
property :enable_private_v6_access, as: 'enablePrivateV6Access'
|
||||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
property :gateway_address, as: 'gatewayAddress'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
|
||||
@@ -14853,6 +14853,137 @@ 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
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::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::ComputeAlpha::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::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
|
||||
|
||||
# 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::ComputeAlpha::Policy] policy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::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, policy_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::ComputeAlpha::Policy::Representation
|
||||
command.request_object = policy_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::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 of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::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::ComputeAlpha::TestPermissionsRequest::Representation
|
||||
command.request_object = test_permissions_request_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::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
|
||||
|
||||
# Gets the access control policy for a resource. May be empty if no such policy
|
||||
# or resource exists.
|
||||
# @param [String] project
|
||||
|
||||
Reference in new issue
Block a user