Class: Google::Apis::NetappV1::NetAppFilesService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::NetappV1::NetAppFilesService
- Defined in:
- lib/google/apis/netapp_v1/service.rb
Overview
NetApp API
Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage service that provides advanced data management capabilities and highly scalable performance with global availability.
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://netapp.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::GoogleProtobufEmpty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_active_directory(parent, active_directory_object = nil, active_directory_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
CreateActiveDirectory Creates the active directory specified in the request.
-
#create_project_location_backup_policy(parent, backup_policy_object = nil, backup_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates new backup policy.
-
#create_project_location_backup_vault(parent, backup_vault_object = nil, backup_vault_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates new backup vault.
-
#create_project_location_backup_vault_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request.
-
#create_project_location_kms_config(parent, kms_config_object = nil, kms_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new KMS config.
-
#create_project_location_storage_pool(parent, storage_pool_object = nil, storage_pool_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new storage pool.
-
#create_project_location_volume(parent, volume_object = nil, volume_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new Volume in a given project and location.
-
#create_project_location_volume_quota_rule(parent, quota_rule_object = nil, quota_rule_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new quota rule.
-
#create_project_location_volume_replication(parent, replication_object = nil, replication_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Create a new replication for a volume.
-
#create_project_location_volume_snapshot(parent, snapshot_object = nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Create a new snapshot for a volume.
-
#delete_project_location_active_directory(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Delete the active directory specified in the request.
-
#delete_project_location_backup_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the backup policy.
-
#delete_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the backup vault.
-
#delete_project_location_backup_vault_backup(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the backup.
-
#delete_project_location_kms_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the Kms config.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::GoogleProtobufEmpty
Deletes a long-running operation.
-
#delete_project_location_storage_pool(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the storage pool.
-
#delete_project_location_volume(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a single Volume.
-
#delete_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a quota rule.
-
#delete_project_location_volume_replication(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a replication.
-
#delete_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a snapshot.
-
#encrypt_kms_config_volumes(name, encrypt_volumes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.
-
#establish_replication_peering(name, establish_peering_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Establish replication peering.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Location
Gets information about a location.
-
#get_project_location_active_directory(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ActiveDirectory
Describes a specified active directory.
-
#get_project_location_backup_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::BackupPolicy
Returns the description of the specified backup policy by backup_policy_id.
-
#get_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::BackupVault
Returns the description of the specified backup vault.
-
#get_project_location_backup_vault_backup(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Backup
Returns the description of the specified backup.
-
#get_project_location_kms_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::KmsConfig
Returns the description of the specified KMS config by kms_config_id.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_storage_pool(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::StoragePool
Returns the description of the specified storage pool by poolId.
-
#get_project_location_volume(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Volume
Gets details of a single Volume.
-
#get_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::QuotaRule
Returns details of the specified quota rule.
-
#get_project_location_volume_replication(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Replication
Describe a replication for a volume.
-
#get_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Snapshot
Describe a snapshot for a volume.
-
#initialize ⇒ NetAppFilesService
constructor
A new instance of NetAppFilesService.
-
#list_project_location_active_directories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListActiveDirectoriesResponse
Lists active directories.
-
#list_project_location_backup_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListBackupPoliciesResponse
Returns list of all available backup policies.
-
#list_project_location_backup_vault_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListBackupsResponse
Returns descriptions of all backups for a backupVault.
-
#list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListBackupVaultsResponse
Returns list of all available backup vaults.
-
#list_project_location_kms_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListKmsConfigsResponse
Returns descriptions of all KMS configs owned by the caller.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_storage_pools(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListStoragePoolsResponse
Returns descriptions of all storage pools owned by the caller.
-
#list_project_location_volume_quota_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListQuotaRulesResponse
Returns list of all quota rules in a location.
-
#list_project_location_volume_replications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListReplicationsResponse
Returns descriptions of all replications for a volume.
-
#list_project_location_volume_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListSnapshotsResponse
Returns descriptions of all snapshots for a volume.
-
#list_project_location_volumes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListVolumesResponse
Lists Volumes in a given project.
-
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_active_directory(name, active_directory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Update the parameters of an active directories.
-
#patch_project_location_backup_policy(name, backup_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates settings of a specific backup policy.
-
#patch_project_location_backup_vault(name, backup_vault_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the settings of a specific backup vault.
-
#patch_project_location_backup_vault_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Update backup with full spec.
-
#patch_project_location_kms_config(name, kms_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the Kms config properties with the full spec.
-
#patch_project_location_storage_pool(name, storage_pool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the storage pool properties with the full spec.
-
#patch_project_location_volume(name, volume_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the parameters of a single Volume.
-
#patch_project_location_volume_quota_rule(name, quota_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates a quota rule.
-
#patch_project_location_volume_replication(name, replication_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the settings of a specific replication.
-
#patch_project_location_volume_snapshot(name, snapshot_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the settings of a specific snapshot.
-
#resume_replication(name, resume_replication_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Resume Cross Region Replication.
-
#reverse_project_location_volume_replication_direction(name, reverse_replication_direction_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Reverses direction of replication.
-
#revert_volume(name, revert_volume_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Revert an existing volume to a specified snapshot.
-
#stop_replication(name, stop_replication_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Stop Cross Region Replication.
-
#switch_storage_pool_active_replica_zone(name, switch_active_replica_zone_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
This operation will switch the active/replica zone for a regional storagePool.
-
#sync_replication(name, sync_replication_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Syncs the replication.
-
#verify_kms_config(name, verify_kms_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::VerifyKmsConfigResponse
Verifies KMS config reachability.
Constructor Details
#initialize ⇒ NetAppFilesService
Returns a new instance of NetAppFilesService.
49 50 51 52 53 54 |
# File 'lib/google/apis/netapp_v1/service.rb', line 49 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, '', client_name: 'google-apis-netapp_v1', client_version: Google::Apis::NetappV1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
42 43 44 |
# File 'lib/google/apis/netapp_v1/service.rb', line 42 def key @key end |
#quota_user ⇒ String
Returns 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.
47 48 49 |
# File 'lib/google/apis/netapp_v1/service.rb', line 47 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::GoogleProtobufEmpty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED.
1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1158 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:cancel', ) command.request_representation = Google::Apis::NetappV1::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::NetappV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::NetappV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_active_directory(parent, active_directory_object = nil, active_directory_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
CreateActiveDirectory Creates the active directory specified in the request.
154 155 156 157 158 159 160 161 162 163 164 165 |
# File 'lib/google/apis/netapp_v1/service.rb', line 154 def create_project_location_active_directory(parent, active_directory_object = nil, active_directory_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/activeDirectories', ) command.request_representation = Google::Apis::NetappV1::ActiveDirectory::Representation command.request_object = active_directory_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['activeDirectoryId'] = active_directory_id unless active_directory_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_backup_policy(parent, backup_policy_object = nil, backup_policy_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates new backup policy
339 340 341 342 343 344 345 346 347 348 349 350 |
# File 'lib/google/apis/netapp_v1/service.rb', line 339 def create_project_location_backup_policy(parent, backup_policy_object = nil, backup_policy_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/backupPolicies', ) command.request_representation = Google::Apis::NetappV1::BackupPolicy::Representation command.request_object = backup_policy_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['backupPolicyId'] = backup_policy_id unless backup_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_backup_vault(parent, backup_vault_object = nil, backup_vault_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates new backup vault
525 526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/google/apis/netapp_v1/service.rb', line 525 def create_project_location_backup_vault(parent, backup_vault_object = nil, backup_vault_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/backupVaults', ) command.request_representation = Google::Apis::NetappV1::BackupVault::Representation command.request_object = backup_vault_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['backupVaultId'] = backup_vault_id unless backup_vault_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_backup_vault_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.
714 715 716 717 718 719 720 721 722 723 724 725 |
# File 'lib/google/apis/netapp_v1/service.rb', line 714 def create_project_location_backup_vault_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/backups', ) command.request_representation = Google::Apis::NetappV1::Backup::Representation command.request_object = backup_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['backupId'] = backup_id unless backup_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_kms_config(parent, kms_config_object = nil, kms_config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new KMS config.
907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/google/apis/netapp_v1/service.rb', line 907 def create_project_location_kms_config(parent, kms_config_object = nil, kms_config_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/kmsConfigs', ) command.request_representation = Google::Apis::NetappV1::KmsConfig::Representation command.request_object = kms_config_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['kmsConfigId'] = kms_config_id unless kms_config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_storage_pool(parent, storage_pool_object = nil, storage_pool_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new storage pool.
1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1299 def create_project_location_storage_pool(parent, storage_pool_object = nil, storage_pool_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/storagePools', ) command.request_representation = Google::Apis::NetappV1::StoragePool::Representation command.request_object = storage_pool_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['storagePoolId'] = storage_pool_id unless storage_pool_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_volume(parent, volume_object = nil, volume_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new Volume in a given project and location.
1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1514 def create_project_location_volume(parent, volume_object = nil, volume_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/volumes', ) command.request_representation = Google::Apis::NetappV1::Volume::Representation command.request_object = volume_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['volumeId'] = volume_id unless volume_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_volume_quota_rule(parent, quota_rule_object = nil, quota_rule_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new quota rule.
1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1736 def create_project_location_volume_quota_rule(parent, quota_rule_object = nil, quota_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/quotaRules', ) command.request_representation = Google::Apis::NetappV1::QuotaRule::Representation command.request_object = quota_rule_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['quotaRuleId'] = quota_rule_id unless quota_rule_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_volume_replication(parent, replication_object = nil, replication_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Create a new replication for a volume.
1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1919 def create_project_location_volume_replication(parent, replication_object = nil, replication_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/replications', ) command.request_representation = Google::Apis::NetappV1::Replication::Representation command.request_object = replication_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['replicationId'] = replication_id unless replication_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_volume_snapshot(parent, snapshot_object = nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Create a new snapshot for a volume.
2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2280 def create_project_location_volume_snapshot(parent, snapshot_object = nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/snapshots', ) command.request_representation = Google::Apis::NetappV1::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['parent'] = parent unless parent.nil? command.query['snapshotId'] = snapshot_id unless snapshot_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_active_directory(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Delete the active directory specified in the request.
187 188 189 190 191 192 193 194 195 |
# File 'lib/google/apis/netapp_v1/service.rb', line 187 def delete_project_location_active_directory(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_backup_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the backup policy.
373 374 375 376 377 378 379 380 381 |
# File 'lib/google/apis/netapp_v1/service.rb', line 373 def delete_project_location_backup_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the backup vault.
559 560 561 562 563 564 565 566 567 |
# File 'lib/google/apis/netapp_v1/service.rb', line 559 def delete_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_backup_vault_backup(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the backup.
748 749 750 751 752 753 754 755 756 |
# File 'lib/google/apis/netapp_v1/service.rb', line 748 def delete_project_location_backup_vault_backup(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_kms_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the Kms config.
940 941 942 943 944 945 946 947 948 |
# File 'lib/google/apis/netapp_v1/service.rb', line 940 def delete_project_location_kms_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::GoogleProtobufEmpty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
1193 1194 1195 1196 1197 1198 1199 1200 1201 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1193 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::GoogleProtobufEmpty::Representation command.response_class = Google::Apis::NetappV1::GoogleProtobufEmpty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_storage_pool(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Warning! This operation will permanently delete the storage pool.
1332 1333 1334 1335 1336 1337 1338 1339 1340 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1332 def delete_project_location_storage_pool(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_volume(name, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a single Volume.
1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1551 def delete_project_location_volume(name, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a quota rule.
1769 1770 1771 1772 1773 1774 1775 1776 1777 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1769 def delete_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_volume_replication(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a replication.
1953 1954 1955 1956 1957 1958 1959 1960 1961 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1953 def delete_project_location_volume_replication(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a snapshot.
2314 2315 2316 2317 2318 2319 2320 2321 2322 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2314 def delete_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#encrypt_kms_config_volumes(name, encrypt_volumes_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.
972 973 974 975 976 977 978 979 980 981 982 |
# File 'lib/google/apis/netapp_v1/service.rb', line 972 def encrypt_kms_config_volumes(name, encrypt_volumes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:encrypt', ) command.request_representation = Google::Apis::NetappV1::EncryptVolumesRequest::Representation command.request_object = encrypt_volumes_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#establish_replication_peering(name, establish_peering_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Establish replication peering.
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1986 def establish_replication_peering(name, establish_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:establishPeering', ) command.request_representation = Google::Apis::NetappV1::EstablishPeeringRequest::Representation command.request_object = establish_peering_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Location
Gets information about a location.
76 77 78 79 80 81 82 83 84 |
# File 'lib/google/apis/netapp_v1/service.rb', line 76 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Location::Representation command.response_class = Google::Apis::NetappV1::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_active_directory(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ActiveDirectory
Describes a specified active directory.
217 218 219 220 221 222 223 224 225 |
# File 'lib/google/apis/netapp_v1/service.rb', line 217 def get_project_location_active_directory(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::ActiveDirectory::Representation command.response_class = Google::Apis::NetappV1::ActiveDirectory command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_backup_policy(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::BackupPolicy
Returns the description of the specified backup policy by backup_policy_id.
404 405 406 407 408 409 410 411 412 |
# File 'lib/google/apis/netapp_v1/service.rb', line 404 def get_project_location_backup_policy(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::BackupPolicy::Representation command.response_class = Google::Apis::NetappV1::BackupPolicy command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::BackupVault
Returns the description of the specified backup vault
590 591 592 593 594 595 596 597 598 |
# File 'lib/google/apis/netapp_v1/service.rb', line 590 def get_project_location_backup_vault(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::BackupVault::Representation command.response_class = Google::Apis::NetappV1::BackupVault command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_backup_vault_backup(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Backup
Returns the description of the specified backup
779 780 781 782 783 784 785 786 787 |
# File 'lib/google/apis/netapp_v1/service.rb', line 779 def get_project_location_backup_vault_backup(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Backup::Representation command.response_class = Google::Apis::NetappV1::Backup command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_kms_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::KmsConfig
Returns the description of the specified KMS config by kms_config_id.
1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1004 def get_project_location_kms_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::KmsConfig::Representation command.response_class = Google::Apis::NetappV1::KmsConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
1224 1225 1226 1227 1228 1229 1230 1231 1232 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1224 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_storage_pool(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::StoragePool
Returns the description of the specified storage pool by poolId.
1362 1363 1364 1365 1366 1367 1368 1369 1370 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1362 def get_project_location_storage_pool(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::StoragePool::Representation command.response_class = Google::Apis::NetappV1::StoragePool command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_volume(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Volume
Gets details of a single Volume.
1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1582 def get_project_location_volume(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Volume::Representation command.response_class = Google::Apis::NetappV1::Volume command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::QuotaRule
Returns details of the specified quota rule.
1799 1800 1801 1802 1803 1804 1805 1806 1807 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1799 def get_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::QuotaRule::Representation command.response_class = Google::Apis::NetappV1::QuotaRule command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_volume_replication(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Replication
Describe a replication for a volume.
2019 2020 2021 2022 2023 2024 2025 2026 2027 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2019 def get_project_location_volume_replication(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Replication::Representation command.response_class = Google::Apis::NetappV1::Replication command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Snapshot
Describe a snapshot for a volume.
2345 2346 2347 2348 2349 2350 2351 2352 2353 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2345 def get_project_location_volume_snapshot(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::Snapshot::Representation command.response_class = Google::Apis::NetappV1::Snapshot command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_active_directories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListActiveDirectoriesResponse
Lists active directories.
256 257 258 259 260 261 262 263 264 265 266 267 268 |
# File 'lib/google/apis/netapp_v1/service.rb', line 256 def list_project_location_active_directories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/activeDirectories', ) command.response_representation = Google::Apis::NetappV1::ListActiveDirectoriesResponse::Representation command.response_class = Google::Apis::NetappV1::ListActiveDirectoriesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_backup_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListBackupPoliciesResponse
Returns list of all available backup policies.
443 444 445 446 447 448 449 450 451 452 453 454 455 |
# File 'lib/google/apis/netapp_v1/service.rb', line 443 def list_project_location_backup_policies(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/backupPolicies', ) command.response_representation = Google::Apis::NetappV1::ListBackupPoliciesResponse::Representation command.response_class = Google::Apis::NetappV1::ListBackupPoliciesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_backup_vault_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListBackupsResponse
Returns descriptions of all backups for a backupVault.
827 828 829 830 831 832 833 834 835 836 837 838 839 |
# File 'lib/google/apis/netapp_v1/service.rb', line 827 def list_project_location_backup_vault_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/backups', ) command.response_representation = Google::Apis::NetappV1::ListBackupsResponse::Representation command.response_class = Google::Apis::NetappV1::ListBackupsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListBackupVaultsResponse
Returns list of all available backup vaults.
630 631 632 633 634 635 636 637 638 639 640 641 642 |
# File 'lib/google/apis/netapp_v1/service.rb', line 630 def list_project_location_backup_vaults(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/backupVaults', ) command.response_representation = Google::Apis::NetappV1::ListBackupVaultsResponse::Representation command.response_class = Google::Apis::NetappV1::ListBackupVaultsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_kms_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListKmsConfigsResponse
Returns descriptions of all KMS configs owned by the caller.
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1043 def list_project_location_kms_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/kmsConfigs', ) command.response_representation = Google::Apis::NetappV1::ListKmsConfigsResponse::Representation command.response_class = Google::Apis::NetappV1::ListKmsConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED.
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1261 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', ) command.response_representation = Google::Apis::NetappV1::ListOperationsResponse::Representation command.response_class = Google::Apis::NetappV1::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_storage_pools(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListStoragePoolsResponse
Returns descriptions of all storage pools owned by the caller.
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1402 def list_project_location_storage_pools(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/storagePools', ) command.response_representation = Google::Apis::NetappV1::ListStoragePoolsResponse::Representation command.response_class = Google::Apis::NetappV1::ListStoragePoolsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_volume_quota_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListQuotaRulesResponse
Returns list of all quota rules in a location.
1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1838 def list_project_location_volume_quota_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/quotaRules', ) command.response_representation = Google::Apis::NetappV1::ListQuotaRulesResponse::Representation command.response_class = Google::Apis::NetappV1::ListQuotaRulesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_volume_replications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListReplicationsResponse
Returns descriptions of all replications for a volume.
2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2059 def list_project_location_volume_replications(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/replications', ) command.response_representation = Google::Apis::NetappV1::ListReplicationsResponse::Representation command.response_class = Google::Apis::NetappV1::ListReplicationsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_volume_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListSnapshotsResponse
Returns descriptions of all snapshots for a volume.
2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2385 def list_project_location_volume_snapshots(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/snapshots', ) command.response_representation = Google::Apis::NetappV1::ListSnapshotsResponse::Representation command.response_class = Google::Apis::NetappV1::ListSnapshotsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_location_volumes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListVolumesResponse
Lists Volumes in a given project.
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1621 def list_project_location_volumes(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+parent}/volumes', ) command.response_representation = Google::Apis::NetappV1::ListVolumesResponse::Representation command.response_class = Google::Apis::NetappV1::ListVolumesResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListLocationsResponse
Lists information about the supported locations for this service.
116 117 118 119 120 121 122 123 124 125 126 127 |
# File 'lib/google/apis/netapp_v1/service.rb', line 116 def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', ) command.response_representation = Google::Apis::NetappV1::ListLocationsResponse::Representation command.response_class = Google::Apis::NetappV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.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? execute_or_queue_command(command, &block) end |
#patch_project_location_active_directory(name, active_directory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Update the parameters of an active directories.
299 300 301 302 303 304 305 306 307 308 309 310 |
# File 'lib/google/apis/netapp_v1/service.rb', line 299 def patch_project_location_active_directory(name, active_directory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::ActiveDirectory::Representation command.request_object = active_directory_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_backup_policy(name, backup_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates settings of a specific backup policy.
485 486 487 488 489 490 491 492 493 494 495 496 |
# File 'lib/google/apis/netapp_v1/service.rb', line 485 def patch_project_location_backup_policy(name, backup_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::BackupPolicy::Representation command.request_object = backup_policy_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_backup_vault(name, backup_vault_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the settings of a specific backup vault.
672 673 674 675 676 677 678 679 680 681 682 683 |
# File 'lib/google/apis/netapp_v1/service.rb', line 672 def patch_project_location_backup_vault(name, backup_vault_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::BackupVault::Representation command.request_object = backup_vault_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_backup_vault_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Update backup with full spec.
869 870 871 872 873 874 875 876 877 878 879 880 |
# File 'lib/google/apis/netapp_v1/service.rb', line 869 def patch_project_location_backup_vault_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::Backup::Representation command.request_object = backup_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_kms_config(name, kms_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the Kms config properties with the full spec
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1084 def patch_project_location_kms_config(name, kms_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::KmsConfig::Representation command.request_object = kms_config_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_storage_pool(name, storage_pool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the storage pool properties with the full spec
1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1443 def patch_project_location_storage_pool(name, storage_pool_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::StoragePool::Representation command.request_object = storage_pool_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_volume(name, volume_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the parameters of a single Volume.
1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1662 def patch_project_location_volume(name, volume_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::Volume::Representation command.request_object = volume_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_volume_quota_rule(name, quota_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates a quota rule.
1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1880 def patch_project_location_volume_quota_rule(name, quota_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::QuotaRule::Representation command.request_object = quota_rule_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_volume_replication(name, replication_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the settings of a specific replication.
2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2099 def patch_project_location_volume_replication(name, replication_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::Replication::Representation command.request_object = replication_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_volume_snapshot(name, snapshot_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the settings of a specific snapshot.
2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2424 def patch_project_location_volume_snapshot(name, snapshot_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+name}', ) command.request_representation = Google::Apis::NetappV1::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#resume_replication(name, resume_replication_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Resume Cross Region Replication.
2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2135 def resume_replication(name, resume_replication_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:resume', ) command.request_representation = Google::Apis::NetappV1::ResumeReplicationRequest::Representation command.request_object = resume_replication_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#reverse_project_location_volume_replication_direction(name, reverse_replication_direction_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Reverses direction of replication. Source becomes destination and destination becomes source.
2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2171 def reverse_project_location_volume_replication_direction(name, reverse_replication_direction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:reverseDirection', ) command.request_representation = Google::Apis::NetappV1::ReverseReplicationDirectionRequest::Representation command.request_object = reverse_replication_direction_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#revert_volume(name, revert_volume_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.
1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1698 def revert_volume(name, revert_volume_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:revert', ) command.request_representation = Google::Apis::NetappV1::RevertVolumeRequest::Representation command.request_object = revert_volume_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#stop_replication(name, stop_replication_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Stop Cross Region Replication.
2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2206 def stop_replication(name, stop_replication_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:stop', ) command.request_representation = Google::Apis::NetappV1::StopReplicationRequest::Representation command.request_object = stop_replication_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#switch_storage_pool_active_replica_zone(name, switch_active_replica_zone_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
This operation will switch the active/replica zone for a regional storagePool.
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1477 def switch_storage_pool_active_replica_zone(name, switch_active_replica_zone_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:switch', ) command.request_representation = Google::Apis::NetappV1::SwitchActiveReplicaZoneRequest::Representation command.request_object = switch_active_replica_zone_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#sync_replication(name, sync_replication_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Syncs the replication. This will invoke one time volume data transfer from source to destination.
2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2242 def sync_replication(name, sync_replication_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:sync', ) command.request_representation = Google::Apis::NetappV1::SyncReplicationRequest::Representation command.request_object = sync_replication_request_object command.response_representation = Google::Apis::NetappV1::Operation::Representation command.response_class = Google::Apis::NetappV1::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#verify_kms_config(name, verify_kms_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::VerifyKmsConfigResponse
Verifies KMS config reachability.
1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1118 def verify_kms_config(name, verify_kms_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:verify', ) command.request_representation = Google::Apis::NetappV1::VerifyKmsConfigRequest::Representation command.request_object = verify_kms_config_request_object command.response_representation = Google::Apis::NetappV1::VerifyKmsConfigResponse::Representation command.response_class = Google::Apis::NetappV1::VerifyKmsConfigResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |