Regen APIs
This commit is contained in:
1 parent
b578520aa8
commit
d4286e35a2
45 files changed
+928
-284
No files matched your search
@@ -1767,8 +1767,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :source_snapshot_id
|
||||
|
||||
# [Output Only] The status of disk creation. Applicable statuses includes:
|
||||
# CREATING, FAILED, READY, RESTORING.
|
||||
# [Output Only] The status of disk creation.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
@@ -3749,8 +3748,8 @@ module Google
|
||||
# valid partial URL. You must provide either this property or the rawDisk.source
|
||||
# property but not both to create an image. For example, the following are valid
|
||||
# values:
|
||||
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk
|
||||
# - projects/project/zones/zone/disk/disk
|
||||
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
||||
# - projects/project/zones/zone/disks/disk
|
||||
# - zones/zone/disks/disk
|
||||
# Corresponds to the JSON property `sourceDisk`
|
||||
# @return [String]
|
||||
@@ -7930,7 +7929,7 @@ module Google
|
||||
attr_accessor :id
|
||||
|
||||
# Router interfaces. Each interface requires either one linked resource (e.g.
|
||||
# linkedVpnTunnel) or IP address and IP address range (e.g. ipRange).
|
||||
# linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
|
||||
# Corresponds to the JSON property `interfaces`
|
||||
# @return [Array<Google::Apis::ComputeBeta::RouterInterface>]
|
||||
attr_accessor :interfaces
|
||||
|
||||
@@ -1520,6 +1520,7 @@ module Google
|
||||
# @param [String] disk
|
||||
# Name of the persistent disk to snapshot.
|
||||
# @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object
|
||||
# @param [Boolean] guest_flush
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1541,7 +1542,7 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_disk_snapshot(project, zone, disk, snapshot_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options)
|
||||
command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation
|
||||
command.request_object = snapshot_object
|
||||
@@ -1550,6 +1551,7 @@ module Google
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['disk'] = disk unless disk.nil?
|
||||
command.query['guestFlush'] = guest_flush unless guest_flush.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?
|
||||
|
||||
Reference in new issue
Block a user