Autogenerated update (2019-01-11)
Update: - compute_alpha - compute_beta - compute_v1 - container_v1 - dialogflow_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - firestore_v1 - firestore_v1beta1 - fitness_v1 - jobs_v3p1beta1 - serviceconsumermanagement_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - sheets_v4 - slides_v1 - youtube_partner_v1
This commit is contained in:
1 parent
5c95ba4c18
commit
dca115029f
58 files changed
+2940
-140
No files matched your search
@@ -33,8 +33,10 @@ module Google
|
||||
attr_accessor :accelerator_count
|
||||
|
||||
# Full or partial URL of the accelerator type resource to attach to this
|
||||
# instance. If you are creating an instance template, specify only the
|
||||
# accelerator name.
|
||||
# instance. For example: projects/my-project/zones/us-central1-c/
|
||||
# acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template,
|
||||
# specify only the accelerator name. See GPUs on Compute Engine for a full list
|
||||
# of accelerator types.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
@@ -1598,7 +1600,7 @@ module Google
|
||||
# instance. This name can be used to reference the device for mounting, resizing,
|
||||
# and so on, from within the instance.
|
||||
# If not specified, the server chooses a default device name to apply to this
|
||||
# disk, in the form persistent-disks-x, where x is a number assigned by Google
|
||||
# disk, in the form persistent-disk-x, where x is a number assigned by Google
|
||||
# Compute Engine. This field is only applicable for persistent disks.
|
||||
# Corresponds to the JSON property `deviceName`
|
||||
# @return [String]
|
||||
@@ -2513,7 +2515,7 @@ module Google
|
||||
class AutoscalingPolicyLoadBalancingUtilization
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Fraction of backend capacity utilization (set in HTTP(s) load balancing
|
||||
# Fraction of backend capacity utilization (set in HTTP(S) load balancing
|
||||
# configuration) that autoscaler should maintain. Must be a positive float value.
|
||||
# If not defined, the default is 0.8.
|
||||
# Corresponds to the JSON property `utilizationTarget`
|
||||
@@ -11384,8 +11386,7 @@ module Google
|
||||
attr_accessor :labels
|
||||
|
||||
# Type of link requested. This field indicates speed of each of the links in the
|
||||
# bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
|
||||
# interconnect. Options: Ethernet_10G_LR
|
||||
# bundle, not the entire bundle.
|
||||
# Corresponds to the JSON property `linkType`
|
||||
# @return [String]
|
||||
attr_accessor :link_type
|
||||
@@ -17661,6 +17662,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :metric
|
||||
|
||||
# [Output Only] Owning resource. This is the resource on which this quota is
|
||||
# applied.
|
||||
# Corresponds to the JSON property `owner`
|
||||
# @return [String]
|
||||
attr_accessor :owner
|
||||
|
||||
# [Output Only] Current usage of this metric.
|
||||
# Corresponds to the JSON property `usage`
|
||||
# @return [Float]
|
||||
@@ -17674,6 +17681,7 @@ module Google
|
||||
def update!(**args)
|
||||
@limit = args[:limit] if args.key?(:limit)
|
||||
@metric = args[:metric] if args.key?(:metric)
|
||||
@owner = args[:owner] if args.key?(:owner)
|
||||
@usage = args[:usage] if args.key?(:usage)
|
||||
end
|
||||
end
|
||||
@@ -19293,6 +19301,11 @@ module Google
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
||||
# Corresponds to the JSON property `storageLocations`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :storage_locations
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -19301,6 +19314,7 @@ module Google
|
||||
def update!(**args)
|
||||
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -21576,7 +21590,7 @@ module Google
|
||||
class ShieldedVmIdentity
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A Shielded VM Identity Entry.
|
||||
# A Shielded Instance Identity Entry.
|
||||
# Corresponds to the JSON property `encryptionKey`
|
||||
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
|
||||
attr_accessor :encryption_key
|
||||
@@ -21587,7 +21601,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A Shielded VM Identity Entry.
|
||||
# A Shielded Instance Identity Entry.
|
||||
# Corresponds to the JSON property `signingKey`
|
||||
# @return [Google::Apis::ComputeBeta::ShieldedVmIdentityEntry]
|
||||
attr_accessor :signing_key
|
||||
@@ -21604,7 +21618,7 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A Shielded VM Identity Entry.
|
||||
# A Shielded Instance Identity Entry.
|
||||
class ShieldedVmIdentityEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
||||
@@ -8232,6 +8232,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :limit, as: 'limit'
|
||||
property :metric, as: 'metric'
|
||||
property :owner, as: 'owner'
|
||||
property :usage, as: 'usage'
|
||||
end
|
||||
end
|
||||
@@ -8694,6 +8695,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :guest_flush, as: 'guestFlush'
|
||||
hash :labels, as: 'labels'
|
||||
collection :storage_locations, as: 'storageLocations'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -8137,8 +8137,8 @@ module Google
|
||||
end
|
||||
|
||||
# Deletes the specified instance template. Deleting an instance template is
|
||||
# permanent and cannot be undone. It's not possible to delete templates which
|
||||
# are in use by an instance group.
|
||||
# permanent and cannot be undone. It is not possible to delete templates that
|
||||
# are already in use by a managed instance group.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] instance_template
|
||||
@@ -8312,7 +8312,7 @@ module Google
|
||||
end
|
||||
|
||||
# Retrieves a list of instance templates that are contained within the specified
|
||||
# project and zone.
|
||||
# project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] filter
|
||||
@@ -11573,6 +11573,43 @@ 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] 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_license_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{project}/global/licenses/{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['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
|
||||
|
||||
# Create a License resource in the specified project.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
@@ -13605,7 +13642,7 @@ module Google
|
||||
# @param [String] zone
|
||||
# The name of the zone for this request.
|
||||
# @param [String] node_group
|
||||
# Name of the NodeGroup resource to delete.
|
||||
# Name of the NodeGroup resource to update.
|
||||
# @param [Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest] node_groups_set_node_template_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
|
||||
Reference in new issue
Block a user