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_host_group(parent, host_group_object = nil, host_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new host group.
-
#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_host_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a host group.
-
#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_project_location_volume_peering(name, establish_volume_peering_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Establish volume peering.
-
#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.
-
#execute_ontap_patch(ontap_path, execute_ontap_patch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapPatchResponse
ExecuteOntapPatchsends the ONTAPPATCHrequest to theStoragePoolcluster. -
#execute_ontap_post(ontap_path, execute_ontap_post_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapPostResponse
ExecuteOntapPostsends the ONTAPPOSTrequest to theStoragePoolcluster. -
#execute_project_location_storage_pool_ontap_ontap_delete(ontap_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapDeleteResponse
ExecuteOntapDeletesends the ONTAPDELETErequest to theStoragePoolcluster. -
#execute_project_location_storage_pool_ontap_ontap_get(ontap_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapGetResponse
ExecuteOntapGetsends the ONTAPGETrequest to theStoragePoolcluster. -
#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_host_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::HostGroup
Returns details of the specified host group.
-
#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_host_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListHostGroupsResponse
Returns a list of host groups in a
location. -
#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, return_partial_success: 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_pool_backup_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::ListBackupConfigsResponse
Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.
-
#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, extra_location_types: nil, 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_host_group(name, host_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates an existing host group.
-
#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.
-
#restore_storage_pool_volume(name, restore_volume_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Restores a backup to an ONTAP-mode volume.
-
#restore_volume_backup_files(name, restore_backup_files_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Restore files from a backup to a volume.
-
#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.
-
#update_storage_pool_backup_config(name, update_backup_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the backup configuration for an ONTAP-mode volume.
-
#validate_storage_pool_directory_service(name, validate_directory_service_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.
-
#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.
1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1354 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.
167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/google/apis/netapp_v1/service.rb', line 167 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
352 353 354 355 356 357 358 359 360 361 362 363 |
# File 'lib/google/apis/netapp_v1/service.rb', line 352 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
538 539 540 541 542 543 544 545 546 547 548 549 |
# File 'lib/google/apis/netapp_v1/service.rb', line 538 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.
727 728 729 730 731 732 733 734 735 736 737 738 |
# File 'lib/google/apis/netapp_v1/service.rb', line 727 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_host_group(parent, host_group_object = nil, host_group_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Creates a new host group.
921 922 923 924 925 926 927 928 929 930 931 932 |
# File 'lib/google/apis/netapp_v1/service.rb', line 921 def create_project_location_host_group(parent, host_group_object = nil, host_group_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+parent}/hostGroups', ) command.request_representation = Google::Apis::NetappV1::HostGroup::Representation command.request_object = host_group_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['hostGroupId'] = host_group_id unless host_group_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.
1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1102 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.
1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1504 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.
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2008 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.
2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2299 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.
2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2483 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.
2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2844 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.
200 201 202 203 204 205 206 207 208 |
# File 'lib/google/apis/netapp_v1/service.rb', line 200 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.
386 387 388 389 390 391 392 393 394 |
# File 'lib/google/apis/netapp_v1/service.rb', line 386 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.
572 573 574 575 576 577 578 579 580 |
# File 'lib/google/apis/netapp_v1/service.rb', line 572 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.
761 762 763 764 765 766 767 768 769 |
# File 'lib/google/apis/netapp_v1/service.rb', line 761 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_host_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Deletes a host group.
955 956 957 958 959 960 961 962 963 |
# File 'lib/google/apis/netapp_v1/service.rb', line 955 def delete_project_location_host_group(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.
1135 1136 1137 1138 1139 1140 1141 1142 1143 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1135 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.
1389 1390 1391 1392 1393 1394 1395 1396 1397 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1389 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.
1537 1538 1539 1540 1541 1542 1543 1544 1545 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1537 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.
2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2045 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.
2332 2333 2334 2335 2336 2337 2338 2339 2340 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2332 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.
2517 2518 2519 2520 2521 2522 2523 2524 2525 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2517 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.
2878 2879 2880 2881 2882 2883 2884 2885 2886 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2878 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.
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1167 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_project_location_volume_peering(name, establish_volume_peering_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Establish volume peering. This is used to establish cluster and svm peerings between the GCNV and OnPrem clusters.
2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2079 def establish_project_location_volume_peering(name, establish_volume_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::EstablishVolumePeeringRequest::Representation command.request_object = establish_volume_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 |
#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.
2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2550 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 |
#execute_ontap_patch(ontap_path, execute_ontap_patch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapPatchResponse
ExecuteOntapPatch sends the ONTAP PATCH request to the StoragePool
cluster.
1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1935 def execute_ontap_patch(ontap_path, execute_ontap_patch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1/{+ontapPath}', ) command.request_representation = Google::Apis::NetappV1::ExecuteOntapPatchRequest::Representation command.request_object = execute_ontap_patch_request_object command.response_representation = Google::Apis::NetappV1::ExecuteOntapPatchResponse::Representation command.response_class = Google::Apis::NetappV1::ExecuteOntapPatchResponse command.params['ontapPath'] = ontap_path unless ontap_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#execute_ontap_post(ontap_path, execute_ontap_post_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapPostResponse
ExecuteOntapPost sends the ONTAP POST request to the StoragePool cluster.
1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1971 def execute_ontap_post(ontap_path, execute_ontap_post_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+ontapPath}', ) command.request_representation = Google::Apis::NetappV1::ExecuteOntapPostRequest::Representation command.request_object = execute_ontap_post_request_object command.response_representation = Google::Apis::NetappV1::ExecuteOntapPostResponse::Representation command.response_class = Google::Apis::NetappV1::ExecuteOntapPostResponse command.params['ontapPath'] = ontap_path unless ontap_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#execute_project_location_storage_pool_ontap_ontap_delete(ontap_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapDeleteResponse
ExecuteOntapDelete sends the ONTAP DELETE request to the StoragePool
cluster.
1867 1868 1869 1870 1871 1872 1873 1874 1875 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1867 def execute_project_location_storage_pool_ontap_ontap_delete(ontap_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1/{+ontapPath}', ) command.response_representation = Google::Apis::NetappV1::ExecuteOntapDeleteResponse::Representation command.response_class = Google::Apis::NetappV1::ExecuteOntapDeleteResponse command.params['ontapPath'] = ontap_path unless ontap_path.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#execute_project_location_storage_pool_ontap_ontap_get(ontap_path, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ExecuteOntapGetResponse
ExecuteOntapGet sends the ONTAP GET request to the StoragePool cluster.
1900 1901 1902 1903 1904 1905 1906 1907 1908 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1900 def execute_project_location_storage_pool_ontap_ontap_get(ontap_path, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+ontapPath}', ) command.response_representation = Google::Apis::NetappV1::ExecuteOntapGetResponse::Representation command.response_class = Google::Apis::NetappV1::ExecuteOntapGetResponse command.params['ontapPath'] = ontap_path unless ontap_path.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.
230 231 232 233 234 235 236 237 238 |
# File 'lib/google/apis/netapp_v1/service.rb', line 230 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.
417 418 419 420 421 422 423 424 425 |
# File 'lib/google/apis/netapp_v1/service.rb', line 417 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
603 604 605 606 607 608 609 610 611 |
# File 'lib/google/apis/netapp_v1/service.rb', line 603 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
792 793 794 795 796 797 798 799 800 |
# File 'lib/google/apis/netapp_v1/service.rb', line 792 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_host_group(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::HostGroup
Returns details of the specified host group.
986 987 988 989 990 991 992 993 994 |
# File 'lib/google/apis/netapp_v1/service.rb', line 986 def get_project_location_host_group(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::NetappV1::HostGroup::Representation command.response_class = Google::Apis::NetappV1::HostGroup 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.
1199 1200 1201 1202 1203 1204 1205 1206 1207 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1199 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.
1420 1421 1422 1423 1424 1425 1426 1427 1428 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1420 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.
1567 1568 1569 1570 1571 1572 1573 1574 1575 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1567 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.
2111 2112 2113 2114 2115 2116 2117 2118 2119 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2111 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.
2362 2363 2364 2365 2366 2367 2368 2369 2370 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2362 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.
2583 2584 2585 2586 2587 2588 2589 2590 2591 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2583 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.
2909 2910 2911 2912 2913 2914 2915 2916 2917 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2909 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.
269 270 271 272 273 274 275 276 277 278 279 280 281 |
# File 'lib/google/apis/netapp_v1/service.rb', line 269 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.
456 457 458 459 460 461 462 463 464 465 466 467 468 |
# File 'lib/google/apis/netapp_v1/service.rb', line 456 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.
840 841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'lib/google/apis/netapp_v1/service.rb', line 840 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.
643 644 645 646 647 648 649 650 651 652 653 654 655 |
# File 'lib/google/apis/netapp_v1/service.rb', line 643 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_host_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::ListHostGroupsResponse
Returns a list of host groups in a location. Use - as location to list
host groups across all locations.
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1026 def list_project_location_host_groups(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}/hostGroups', ) command.response_representation = Google::Apis::NetappV1::ListHostGroupsResponse::Representation command.response_class = Google::Apis::NetappV1::ListHostGroupsResponse 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.
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1238 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, return_partial_success: 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.
1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1465 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: 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['returnPartialSuccess'] = return_partial_success unless return_partial_success.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_pool_backup_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::ListBackupConfigsResponse
Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.
1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1829 def list_project_location_storage_pool_backup_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}/backupConfigs', ) command.response_representation = Google::Apis::NetappV1::ListBackupConfigsResponse::Representation command.response_class = Google::Apis::NetappV1::ListBackupConfigsResponse 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_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.
1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1607 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.
2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2401 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.
2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2623 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.
2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2949 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.
2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2150 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, extra_location_types: nil, 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. This method
lists locations based on the resource scope provided in the
ListLocationsRequest.name field: * Global locations: If name is empty,
the method lists the public locations available to all projects. * Project-
specific locations: If name follows the format projects/project`, the
method lists locations visible to that specific project. This includes public,
private, or other project-specific locations enabled for the project. For gRPC
and client library implementations, the resource name is passed as thename`
field. For direct service calls, the resource name is incorporated into the
request path based on the specific service implementation and version.
128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/google/apis/netapp_v1/service.rb', line 128 def list_project_locations(name, extra_location_types: nil, 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['extraLocationTypes'] = extra_location_types unless extra_location_types.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.
312 313 314 315 316 317 318 319 320 321 322 323 |
# File 'lib/google/apis/netapp_v1/service.rb', line 312 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.
498 499 500 501 502 503 504 505 506 507 508 509 |
# File 'lib/google/apis/netapp_v1/service.rb', line 498 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.
685 686 687 688 689 690 691 692 693 694 695 696 |
# File 'lib/google/apis/netapp_v1/service.rb', line 685 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.
882 883 884 885 886 887 888 889 890 891 892 893 |
# File 'lib/google/apis/netapp_v1/service.rb', line 882 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_host_group(name, host_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates an existing host group.
1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1064 def patch_project_location_host_group(name, host_group_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::HostGroup::Representation command.request_object = host_group_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
1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1280 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
1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1648 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.
2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2191 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.
2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2444 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.
2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2663 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.
2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2988 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 |
#restore_storage_pool_volume(name, restore_volume_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Restores a backup to an ONTAP-mode volume.
1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1683 def restore_storage_pool_volume(name, restore_volume_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:restoreVolume', ) command.request_representation = Google::Apis::NetappV1::RestoreVolumeRequest::Representation command.request_object = restore_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 |
#restore_volume_backup_files(name, restore_backup_files_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Restore files from a backup to a volume.
2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2226 def restore_volume_backup_files(name, restore_backup_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:restore', ) command.request_representation = Google::Apis::NetappV1::RestoreBackupFilesRequest::Representation command.request_object = restore_backup_files_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 |
#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.
2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2699 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.
2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2735 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.
2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2261 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.
2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2770 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.
1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1716 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.
2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 |
# File 'lib/google/apis/netapp_v1/service.rb', line 2806 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 |
#update_storage_pool_backup_config(name, update_backup_config_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
Updates the backup configuration for an ONTAP-mode volume.
1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1750 def update_storage_pool_backup_config(name, update_backup_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:updateBackupConfig', ) command.request_representation = Google::Apis::NetappV1::UpdateBackupConfigRequest::Representation command.request_object = update_backup_config_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 |
#validate_storage_pool_directory_service(name, validate_directory_service_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::NetappV1::Operation
ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.
1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1784 def validate_storage_pool_directory_service(name, validate_directory_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+name}:validateDirectoryService', ) command.request_representation = Google::Apis::NetappV1::ValidateDirectoryServiceRequest::Representation command.request_object = validate_directory_service_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.
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'lib/google/apis/netapp_v1/service.rb', line 1314 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 |