google-cloud-netapp-v1 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -457,9 +457,9 @@ module Google
457
457
  # Required. Value for parent.
458
458
  # @param storage_pool_id [::String]
459
459
  # Required. Id of the requesting storage pool. Must be unique within the
460
- # parent resource. Must contain only letters, numbers, underscore and hyphen,
461
- # with the first character a letter or underscore, the last a letter or
462
- # underscore or a number, and a 63 character maximum.
460
+ # parent resource. Must contain only letters, numbers and hyphen, with the
461
+ # first character a letter, the last a letter or a number, and a 63 character
462
+ # maximum.
463
463
  # @param storage_pool [::Google::Cloud::NetApp::V1::StoragePool, ::Hash]
464
464
  # Required. The required parameters to create a new storage pool.
465
465
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1069,9 +1069,9 @@ module Google
1069
1069
  # Required. Value for parent.
1070
1070
  # @param volume_id [::String]
1071
1071
  # Required. Id of the requesting volume. Must be unique within the parent
1072
- # resource. Must contain only letters, numbers, underscore and hyphen, with
1073
- # the first character a letter or underscore, the last a letter or underscore
1074
- # or a number, and a 63 character maximum.
1072
+ # resource. Must contain only letters, numbers and hyphen, with the first
1073
+ # character a letter, the last a letter or a number,
1074
+ # and a 63 character maximum.
1075
1075
  # @param volume [::Google::Cloud::NetApp::V1::Volume, ::Hash]
1076
1076
  # Required. The volume being created.
1077
1077
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1618,9 +1618,9 @@ module Google
1618
1618
  # Required. A snapshot resource
1619
1619
  # @param snapshot_id [::String]
1620
1620
  # Required. ID of the snapshot to create. Must be unique within the parent
1621
- # resource. Must contain only letters, numbers, underscore and hyphen, with
1622
- # the first character a letter or underscore, the last a letter or underscore
1623
- # or a number, and a 63 character maximum.
1621
+ # resource. Must contain only letters, numbers and hyphen, with the first
1622
+ # character a letter, the last a letter or a
1623
+ # number, and a 63 character maximum.
1624
1624
  # @yield [result, operation] Access the result along with the TransportOperation object
1625
1625
  # @yieldparam result [::Gapic::Operation]
1626
1626
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2062,9 +2062,9 @@ module Google
2062
2062
  # Required. Fields of the to be created active directory.
2063
2063
  # @param active_directory_id [::String]
2064
2064
  # Required. ID of the active directory to create. Must be unique within the
2065
- # parent resource. Must contain only letters, numbers, underscore and hyphen,
2066
- # with the first character a letter or underscore, the last a letter or
2067
- # underscore or a number, and a 63 character maximum.
2065
+ # parent resource. Must contain only letters, numbers and hyphen, with the
2066
+ # first character a letter , the last a letter or a number, and a 63
2067
+ # character maximum.
2068
2068
  # @yield [result, operation] Access the result along with the TransportOperation object
2069
2069
  # @yieldparam result [::Gapic::Operation]
2070
2070
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -2426,9 +2426,9 @@ module Google
2426
2426
  # Required. Value for parent.
2427
2427
  # @param kms_config_id [::String]
2428
2428
  # Required. Id of the requesting KmsConfig. Must be unique within the parent
2429
- # resource. Must contain only letters, numbers, underscore and hyphen, with
2430
- # the first character a letter or underscore, the last a letter or underscore
2431
- # or a number, and a 63 character maximum.
2429
+ # resource. Must contain only letters, numbers and hyphen, with the first
2430
+ # character a letter, the last a letter or a
2431
+ # number, and a 63 character maximum.
2432
2432
  # @param kms_config [::Google::Cloud::NetApp::V1::KmsConfig, ::Hash]
2433
2433
  # Required. The required parameters to create a new KmsConfig.
2434
2434
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -3123,9 +3123,9 @@ module Google
3123
3123
  # Required. A replication resource
3124
3124
  # @param replication_id [::String]
3125
3125
  # Required. ID of the replication to create. Must be unique within the parent
3126
- # resource. Must contain only letters, numbers, underscore and hyphen, with
3127
- # the first character a letter or underscore, the last a letter or underscore
3128
- # or a number, and a 63 character maximum.
3126
+ # resource. Must contain only letters, numbers and hyphen, with the first
3127
+ # character a letter, the last a letter or a
3128
+ # number, and a 63 character maximum.
3129
3129
  # @yield [result, operation] Access the result along with the TransportOperation object
3130
3130
  # @yieldparam result [::Gapic::Operation]
3131
3131
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -3643,6 +3643,194 @@ module Google
3643
3643
  raise ::Google::Cloud::Error.from_error(e)
3644
3644
  end
3645
3645
 
3646
+ ##
3647
+ # Establish replication peering.
3648
+ #
3649
+ # @overload establish_peering(request, options = nil)
3650
+ # Pass arguments to `establish_peering` via a request object, either of type
3651
+ # {::Google::Cloud::NetApp::V1::EstablishPeeringRequest} or an equivalent Hash.
3652
+ #
3653
+ # @param request [::Google::Cloud::NetApp::V1::EstablishPeeringRequest, ::Hash]
3654
+ # A request object representing the call parameters. Required. To specify no
3655
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3656
+ # @param options [::Gapic::CallOptions, ::Hash]
3657
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3658
+ #
3659
+ # @overload establish_peering(name: nil, peer_cluster_name: nil, peer_svm_name: nil, peer_ip_addresses: nil, peer_volume_name: nil)
3660
+ # Pass arguments to `establish_peering` via keyword arguments. Note that at
3661
+ # least one keyword argument is required. To specify no parameters, or to keep all
3662
+ # the default parameter values, pass an empty Hash as a request object (see above).
3663
+ #
3664
+ # @param name [::String]
3665
+ # Required. The resource name of the replication, in the format of
3666
+ # projects/\\{project_id}/locations/\\{location}/volumes/\\{volume_id}/replications/\\{replication_id}.
3667
+ # @param peer_cluster_name [::String]
3668
+ # Required. Name of the user's local source cluster to be peered with the
3669
+ # destination cluster.
3670
+ # @param peer_svm_name [::String]
3671
+ # Required. Name of the user's local source vserver svm to be peered with the
3672
+ # destination vserver svm.
3673
+ # @param peer_ip_addresses [::Array<::String>]
3674
+ # Optional. List of IPv4 ip addresses to be used for peering.
3675
+ # @param peer_volume_name [::String]
3676
+ # Required. Name of the user's local source volume to be peered with the
3677
+ # destination volume.
3678
+ # @yield [result, operation] Access the result along with the TransportOperation object
3679
+ # @yieldparam result [::Gapic::Operation]
3680
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3681
+ #
3682
+ # @return [::Gapic::Operation]
3683
+ #
3684
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3685
+ #
3686
+ # @example Basic example
3687
+ # require "google/cloud/netapp/v1"
3688
+ #
3689
+ # # Create a client object. The client can be reused for multiple calls.
3690
+ # client = Google::Cloud::NetApp::V1::NetApp::Rest::Client.new
3691
+ #
3692
+ # # Create a request. To set request fields, pass in keyword arguments.
3693
+ # request = Google::Cloud::NetApp::V1::EstablishPeeringRequest.new
3694
+ #
3695
+ # # Call the establish_peering method.
3696
+ # result = client.establish_peering request
3697
+ #
3698
+ # # The returned object is of type Gapic::Operation. You can use it to
3699
+ # # check the status of an operation, cancel it, or wait for results.
3700
+ # # Here is how to wait for a response.
3701
+ # result.wait_until_done! timeout: 60
3702
+ # if result.response?
3703
+ # p result.response
3704
+ # else
3705
+ # puts "No response received."
3706
+ # end
3707
+ #
3708
+ def establish_peering request, options = nil
3709
+ raise ::ArgumentError, "request must be provided" if request.nil?
3710
+
3711
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetApp::V1::EstablishPeeringRequest
3712
+
3713
+ # Converts hash and nil to an options object
3714
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3715
+
3716
+ # Customize the options with defaults
3717
+ call_metadata = @config.rpcs.establish_peering.metadata.to_h
3718
+
3719
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3720
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3721
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3722
+ gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
3723
+ transports_version_send: [:rest]
3724
+
3725
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3726
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3727
+
3728
+ options.apply_defaults timeout: @config.rpcs.establish_peering.timeout,
3729
+ metadata: call_metadata,
3730
+ retry_policy: @config.rpcs.establish_peering.retry_policy
3731
+
3732
+ options.apply_defaults timeout: @config.timeout,
3733
+ metadata: @config.metadata,
3734
+ retry_policy: @config.retry_policy
3735
+
3736
+ @net_app_stub.establish_peering request, options do |result, operation|
3737
+ result = ::Gapic::Operation.new result, @operations_client, options: options
3738
+ yield result, operation if block_given?
3739
+ return result
3740
+ end
3741
+ rescue ::Gapic::Rest::Error => e
3742
+ raise ::Google::Cloud::Error.from_error(e)
3743
+ end
3744
+
3745
+ ##
3746
+ # Syncs the replication. This will invoke one time volume data transfer from
3747
+ # source to destination.
3748
+ #
3749
+ # @overload sync_replication(request, options = nil)
3750
+ # Pass arguments to `sync_replication` via a request object, either of type
3751
+ # {::Google::Cloud::NetApp::V1::SyncReplicationRequest} or an equivalent Hash.
3752
+ #
3753
+ # @param request [::Google::Cloud::NetApp::V1::SyncReplicationRequest, ::Hash]
3754
+ # A request object representing the call parameters. Required. To specify no
3755
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3756
+ # @param options [::Gapic::CallOptions, ::Hash]
3757
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
3758
+ #
3759
+ # @overload sync_replication(name: nil)
3760
+ # Pass arguments to `sync_replication` via keyword arguments. Note that at
3761
+ # least one keyword argument is required. To specify no parameters, or to keep all
3762
+ # the default parameter values, pass an empty Hash as a request object (see above).
3763
+ #
3764
+ # @param name [::String]
3765
+ # Required. The resource name of the replication, in the format of
3766
+ # projects/\\{project_id}/locations/\\{location}/volumes/\\{volume_id}/replications/\\{replication_id}.
3767
+ # @yield [result, operation] Access the result along with the TransportOperation object
3768
+ # @yieldparam result [::Gapic::Operation]
3769
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
3770
+ #
3771
+ # @return [::Gapic::Operation]
3772
+ #
3773
+ # @raise [::Google::Cloud::Error] if the REST call is aborted.
3774
+ #
3775
+ # @example Basic example
3776
+ # require "google/cloud/netapp/v1"
3777
+ #
3778
+ # # Create a client object. The client can be reused for multiple calls.
3779
+ # client = Google::Cloud::NetApp::V1::NetApp::Rest::Client.new
3780
+ #
3781
+ # # Create a request. To set request fields, pass in keyword arguments.
3782
+ # request = Google::Cloud::NetApp::V1::SyncReplicationRequest.new
3783
+ #
3784
+ # # Call the sync_replication method.
3785
+ # result = client.sync_replication request
3786
+ #
3787
+ # # The returned object is of type Gapic::Operation. You can use it to
3788
+ # # check the status of an operation, cancel it, or wait for results.
3789
+ # # Here is how to wait for a response.
3790
+ # result.wait_until_done! timeout: 60
3791
+ # if result.response?
3792
+ # p result.response
3793
+ # else
3794
+ # puts "No response received."
3795
+ # end
3796
+ #
3797
+ def sync_replication request, options = nil
3798
+ raise ::ArgumentError, "request must be provided" if request.nil?
3799
+
3800
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::NetApp::V1::SyncReplicationRequest
3801
+
3802
+ # Converts hash and nil to an options object
3803
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3804
+
3805
+ # Customize the options with defaults
3806
+ call_metadata = @config.rpcs.sync_replication.metadata.to_h
3807
+
3808
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3809
+ call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3810
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3811
+ gapic_version: ::Google::Cloud::NetApp::V1::VERSION,
3812
+ transports_version_send: [:rest]
3813
+
3814
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3815
+ call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3816
+
3817
+ options.apply_defaults timeout: @config.rpcs.sync_replication.timeout,
3818
+ metadata: call_metadata,
3819
+ retry_policy: @config.rpcs.sync_replication.retry_policy
3820
+
3821
+ options.apply_defaults timeout: @config.timeout,
3822
+ metadata: @config.metadata,
3823
+ retry_policy: @config.retry_policy
3824
+
3825
+ @net_app_stub.sync_replication request, options do |result, operation|
3826
+ result = ::Gapic::Operation.new result, @operations_client, options: options
3827
+ yield result, operation if block_given?
3828
+ return result
3829
+ end
3830
+ rescue ::Gapic::Rest::Error => e
3831
+ raise ::Google::Cloud::Error.from_error(e)
3832
+ end
3833
+
3646
3834
  ##
3647
3835
  # Creates new backup vault
3648
3836
  #
@@ -3667,8 +3855,8 @@ module Google
3667
3855
  # @param backup_vault_id [::String]
3668
3856
  # Required. The ID to use for the backupVault.
3669
3857
  # The ID must be unique within the specified location.
3670
- # Must contain only letters, numbers, underscore and hyphen, with the first
3671
- # character a letter or underscore, the last a letter or underscore or a
3858
+ # Must contain only letters, numbers and hyphen, with the first
3859
+ # character a letter, the last a letter or a
3672
3860
  # number, and a 63 character maximum.
3673
3861
  # @param backup_vault [::Google::Cloud::NetApp::V1::BackupVault, ::Hash]
3674
3862
  # Required. A backupVault resource
@@ -4121,8 +4309,8 @@ module Google
4121
4309
  # @param backup_id [::String]
4122
4310
  # Required. The ID to use for the backup.
4123
4311
  # The ID must be unique within the specified backupVault.
4124
- # Must contain only letters, numbers, underscore and hyphen, with the first
4125
- # character a letter or underscore, the last a letter or underscore or a
4312
+ # Must contain only letters, numbers and hyphen, with the first
4313
+ # character a letter, the last a letter or a
4126
4314
  # number, and a 63 character maximum.
4127
4315
  # @param backup [::Google::Cloud::NetApp::V1::Backup, ::Hash]
4128
4316
  # Required. A backup resource
@@ -4585,8 +4773,8 @@ module Google
4585
4773
  # @param backup_policy_id [::String]
4586
4774
  # Required. The ID to use for the backup policy.
4587
4775
  # The ID must be unique within the specified location.
4588
- # Must contain only letters, numbers, underscore and hyphen, with the first
4589
- # character a letter or underscore, the last a letter or underscore or a
4776
+ # Must contain only letters, numbers and hyphen, with the first
4777
+ # character a letter, the last a letter or a
4590
4778
  # number, and a 63 character maximum.
4591
4779
  # @yield [result, operation] Access the result along with the TransportOperation object
4592
4780
  # @yieldparam result [::Gapic::Operation]
@@ -5334,6 +5522,16 @@ module Google
5334
5522
  #
5335
5523
  attr_reader :reverse_replication_direction
5336
5524
  ##
5525
+ # RPC-specific configuration for `establish_peering`
5526
+ # @return [::Gapic::Config::Method]
5527
+ #
5528
+ attr_reader :establish_peering
5529
+ ##
5530
+ # RPC-specific configuration for `sync_replication`
5531
+ # @return [::Gapic::Config::Method]
5532
+ #
5533
+ attr_reader :sync_replication
5534
+ ##
5337
5535
  # RPC-specific configuration for `create_backup_vault`
5338
5536
  # @return [::Gapic::Config::Method]
5339
5537
  #
@@ -5485,6 +5683,10 @@ module Google
5485
5683
  @resume_replication = ::Gapic::Config::Method.new resume_replication_config
5486
5684
  reverse_replication_direction_config = parent_rpcs.reverse_replication_direction if parent_rpcs.respond_to? :reverse_replication_direction
5487
5685
  @reverse_replication_direction = ::Gapic::Config::Method.new reverse_replication_direction_config
5686
+ establish_peering_config = parent_rpcs.establish_peering if parent_rpcs.respond_to? :establish_peering
5687
+ @establish_peering = ::Gapic::Config::Method.new establish_peering_config
5688
+ sync_replication_config = parent_rpcs.sync_replication if parent_rpcs.respond_to? :sync_replication
5689
+ @sync_replication = ::Gapic::Config::Method.new sync_replication_config
5488
5690
  create_backup_vault_config = parent_rpcs.create_backup_vault if parent_rpcs.respond_to? :create_backup_vault
5489
5691
  @create_backup_vault = ::Gapic::Config::Method.new create_backup_vault_config
5490
5692
  get_backup_vault_config = parent_rpcs.get_backup_vault if parent_rpcs.respond_to? :get_backup_vault
@@ -115,14 +115,6 @@ module Google
115
115
  # Lists operations that match the specified filter in the request. If the
116
116
  # server doesn't support this method, it returns `UNIMPLEMENTED`.
117
117
  #
118
- # NOTE: the `name` binding allows API services to override the binding
119
- # to use different resource name schemes, such as `users/*/operations`. To
120
- # override the binding, API services can add a binding such as
121
- # `"/v1/{name=users/*}/operations"` to their service configuration.
122
- # For backwards compatibility, the default name includes the operations
123
- # collection id, however overriding users must ensure the name binding
124
- # is the parent resource, without the operations collection id.
125
- #
126
118
  # @overload list_operations(request, options = nil)
127
119
  # Pass arguments to `list_operations` via a request object, either of type
128
120
  # {::Google::Longrunning::ListOperationsRequest} or an equivalent Hash.
@@ -390,8 +382,9 @@ module Google
390
382
  # other methods to check whether the cancellation succeeded or whether the
391
383
  # operation completed despite cancellation. On successful cancellation,
392
384
  # the operation is not deleted; instead, it becomes an operation with
393
- # an {::Google::Longrunning::Operation#error Operation.error} value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
394
- # corresponding to `Code.CANCELLED`.
385
+ # an {::Google::Longrunning::Operation#error Operation.error} value with a
386
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of `1`, corresponding to
387
+ # `Code.CANCELLED`.
395
388
  #
396
389
  # @overload cancel_operation(request, options = nil)
397
390
  # Pass arguments to `cancel_operation` via a request object, either of type
@@ -1467,6 +1467,82 @@ module Google
1467
1467
  result
1468
1468
  end
1469
1469
 
1470
+ ##
1471
+ # Baseline implementation for the establish_peering REST call
1472
+ #
1473
+ # @param request_pb [::Google::Cloud::NetApp::V1::EstablishPeeringRequest]
1474
+ # A request object representing the call parameters. Required.
1475
+ # @param options [::Gapic::CallOptions]
1476
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1477
+ #
1478
+ # @yield [result, operation] Access the result along with the TransportOperation object
1479
+ # @yieldparam result [::Google::Longrunning::Operation]
1480
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1481
+ #
1482
+ # @return [::Google::Longrunning::Operation]
1483
+ # A result object deserialized from the server's reply
1484
+ def establish_peering request_pb, options = nil
1485
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1486
+
1487
+ verb, uri, query_string_params, body = ServiceStub.transcode_establish_peering_request request_pb
1488
+ query_string_params = if query_string_params.any?
1489
+ query_string_params.to_h { |p| p.split "=", 2 }
1490
+ else
1491
+ {}
1492
+ end
1493
+
1494
+ response = @client_stub.make_http_request(
1495
+ verb,
1496
+ uri: uri,
1497
+ body: body || "",
1498
+ params: query_string_params,
1499
+ options: options
1500
+ )
1501
+ operation = ::Gapic::Rest::TransportOperation.new response
1502
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
1503
+
1504
+ yield result, operation if block_given?
1505
+ result
1506
+ end
1507
+
1508
+ ##
1509
+ # Baseline implementation for the sync_replication REST call
1510
+ #
1511
+ # @param request_pb [::Google::Cloud::NetApp::V1::SyncReplicationRequest]
1512
+ # A request object representing the call parameters. Required.
1513
+ # @param options [::Gapic::CallOptions]
1514
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
1515
+ #
1516
+ # @yield [result, operation] Access the result along with the TransportOperation object
1517
+ # @yieldparam result [::Google::Longrunning::Operation]
1518
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
1519
+ #
1520
+ # @return [::Google::Longrunning::Operation]
1521
+ # A result object deserialized from the server's reply
1522
+ def sync_replication request_pb, options = nil
1523
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
1524
+
1525
+ verb, uri, query_string_params, body = ServiceStub.transcode_sync_replication_request request_pb
1526
+ query_string_params = if query_string_params.any?
1527
+ query_string_params.to_h { |p| p.split "=", 2 }
1528
+ else
1529
+ {}
1530
+ end
1531
+
1532
+ response = @client_stub.make_http_request(
1533
+ verb,
1534
+ uri: uri,
1535
+ body: body || "",
1536
+ params: query_string_params,
1537
+ options: options
1538
+ )
1539
+ operation = ::Gapic::Rest::TransportOperation.new response
1540
+ result = ::Google::Longrunning::Operation.decode_json response.body, ignore_unknown_fields: true
1541
+
1542
+ yield result, operation if block_given?
1543
+ result
1544
+ end
1545
+
1470
1546
  ##
1471
1547
  # Baseline implementation for the create_backup_vault REST call
1472
1548
  #
@@ -2833,6 +2909,50 @@ module Google
2833
2909
  transcoder.transcode request_pb
2834
2910
  end
2835
2911
 
2912
+ ##
2913
+ # @private
2914
+ #
2915
+ # GRPC transcoding helper method for the establish_peering REST call
2916
+ #
2917
+ # @param request_pb [::Google::Cloud::NetApp::V1::EstablishPeeringRequest]
2918
+ # A request object representing the call parameters. Required.
2919
+ # @return [Array(String, [String, nil], Hash{String => String})]
2920
+ # Uri, Body, Query string parameters
2921
+ def self.transcode_establish_peering_request request_pb
2922
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2923
+ .with_bindings(
2924
+ uri_method: :post,
2925
+ uri_template: "/v1/{name}:establishPeering",
2926
+ body: "*",
2927
+ matches: [
2928
+ ["name", %r{^projects/[^/]+/locations/[^/]+/volumes/[^/]+/replications/[^/]+/?$}, false]
2929
+ ]
2930
+ )
2931
+ transcoder.transcode request_pb
2932
+ end
2933
+
2934
+ ##
2935
+ # @private
2936
+ #
2937
+ # GRPC transcoding helper method for the sync_replication REST call
2938
+ #
2939
+ # @param request_pb [::Google::Cloud::NetApp::V1::SyncReplicationRequest]
2940
+ # A request object representing the call parameters. Required.
2941
+ # @return [Array(String, [String, nil], Hash{String => String})]
2942
+ # Uri, Body, Query string parameters
2943
+ def self.transcode_sync_replication_request request_pb
2944
+ transcoder = Gapic::Rest::GrpcTranscoder.new
2945
+ .with_bindings(
2946
+ uri_method: :post,
2947
+ uri_template: "/v1/{name}:sync",
2948
+ body: "*",
2949
+ matches: [
2950
+ ["name", %r{^projects/[^/]+/locations/[^/]+/volumes/[^/]+/replications/[^/]+/?$}, false]
2951
+ ]
2952
+ )
2953
+ transcoder.transcode request_pb
2954
+ end
2955
+
2836
2956
  ##
2837
2957
  # @private
2838
2958
  #
@@ -6,12 +6,13 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
+ require 'google/cloud/netapp/v1/volume_pb'
9
10
  require 'google/protobuf/duration_pb'
10
11
  require 'google/protobuf/field_mask_pb'
11
12
  require 'google/protobuf/timestamp_pb'
12
13
 
13
14
 
14
- descriptor_data = "\n(google/cloud/netapp/v1/replication.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\x04\n\rTransferStats\x12\x1b\n\x0etransfer_bytes\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12?\n\x17total_transfer_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12 \n\x13last_transfer_bytes\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12>\n\x16last_transfer_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12\x34\n\x0clag_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12?\n\x16last_transfer_end_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\x88\x01\x01\x12 \n\x13last_transfer_error\x18\x08 \x01(\tH\x07\x88\x01\x01\x42\x11\n\x0f_transfer_bytesB\x1a\n\x18_total_transfer_durationB\x16\n\x14_last_transfer_bytesB\x19\n\x17_last_transfer_durationB\x0f\n\r_lag_durationB\x0e\n\x0c_update_timeB\x19\n\x17_last_transfer_end_timeB\x16\n\x14_last_transfer_error\"\xa8\x0b\n\x0bReplication\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12=\n\x05state\x18\x02 \x01(\x0e\x32).google.cloud.netapp.v1.Replication.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x04role\x18\x04 \x01(\x0e\x32\x33.google.cloud.netapp.v1.Replication.ReplicationRoleB\x03\xe0\x41\x03\x12Z\n\x14replication_schedule\x18\x05 \x01(\x0e\x32\x37.google.cloud.netapp.v1.Replication.ReplicationScheduleB\x03\xe0\x41\x02\x12J\n\x0cmirror_state\x18\x06 \x01(\x0e\x32/.google.cloud.netapp.v1.Replication.MirrorStateB\x03\xe0\x41\x03\x12\x19\n\x07healthy\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x12\x64\x65stination_volume\x18\n \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x42\n\x0etransfer_stats\x18\x0b \x01(\x0b\x32%.google.cloud.netapp.v1.TransferStatsB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x0c \x03(\x0b\x32/.google.cloud.netapp.v1.Replication.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x01\x88\x01\x01\x12\x62\n\x1d\x64\x65stination_volume_parameters\x18\x0e \x01(\x0b\x32\x33.google.cloud.netapp.v1.DestinationVolumeParametersB\x06\xe0\x41\x04\xe0\x41\x02\x12;\n\rsource_volume\x18\x0f \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"^\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\"P\n\x0fReplicationRole\x12 \n\x1cREPLICATION_ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\x0f\n\x0b\x44\x45STINATION\x10\x02\"h\n\x13ReplicationSchedule\x12$\n REPLICATION_SCHEDULE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45VERY_10_MINUTES\x10\x01\x12\n\n\x06HOURLY\x10\x02\x12\t\n\x05\x44\x41ILY\x10\x03\"g\n\x0bMirrorState\x12\x1c\n\x18MIRROR_STATE_UNSPECIFIED\x10\x00\x12\r\n\tPREPARING\x10\x01\x12\x0c\n\x08MIRRORED\x10\x02\x12\x0b\n\x07STOPPED\x10\x03\x12\x10\n\x0cTRANSFERRING\x10\x04:\x97\x01\xea\x41\x93\x01\n!netapp.googleapis.com/Replication\x12Sprojects/{project}/locations/{location}/volumes/{volume}/replications/{replication}*\x0creplications2\x0breplicationB\n\n\x08_healthyB\x0e\n\x0c_description\"\x9d\x01\n\x17ListReplicationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"\x83\x01\n\x18ListReplicationsResponse\x12\x39\n\x0creplications\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.Replication\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"P\n\x15GetReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\xaf\x01\n\x1b\x44\x65stinationVolumeParameters\x12?\n\x0cstorage_pool\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12\x11\n\tvolume_id\x18\x02 \x01(\t\x12\x12\n\nshare_name\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xb1\x01\n\x18\x43reateReplicationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\x12=\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x03\xe0\x41\x02\x12\x1b\n\x0ereplication_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\x8f\x01\n\x18UpdateReplicationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12=\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x03\xe0\x41\x02\"`\n\x16StopReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"S\n\x18ResumeReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"]\n\"ReverseReplicationDirectionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/ReplicationB\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10ReplicationProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
15
+ descriptor_data = "\n(google/cloud/netapp/v1/replication.proto\x12\x16google.cloud.netapp.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/netapp/v1/volume.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\x04\n\rTransferStats\x12\x1b\n\x0etransfer_bytes\x18\x01 \x01(\x03H\x00\x88\x01\x01\x12?\n\x17total_transfer_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12 \n\x13last_transfer_bytes\x18\x03 \x01(\x03H\x02\x88\x01\x01\x12>\n\x16last_transfer_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x03\x88\x01\x01\x12\x34\n\x0clag_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x04\x88\x01\x01\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x12?\n\x16last_transfer_end_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x06\x88\x01\x01\x12 \n\x13last_transfer_error\x18\x08 \x01(\tH\x07\x88\x01\x01\x42\x11\n\x0f_transfer_bytesB\x1a\n\x18_total_transfer_durationB\x16\n\x14_last_transfer_bytesB\x19\n\x17_last_transfer_durationB\x0f\n\r_lag_durationB\x0e\n\x0c_update_timeB\x19\n\x17_last_transfer_end_timeB\x16\n\x14_last_transfer_error\"\xc8\x0e\n\x0bReplication\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12=\n\x05state\x18\x02 \x01(\x0e\x32).google.cloud.netapp.v1.Replication.StateB\x03\xe0\x41\x03\x12\x1a\n\rstate_details\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x04role\x18\x04 \x01(\x0e\x32\x33.google.cloud.netapp.v1.Replication.ReplicationRoleB\x03\xe0\x41\x03\x12Z\n\x14replication_schedule\x18\x05 \x01(\x0e\x32\x37.google.cloud.netapp.v1.Replication.ReplicationScheduleB\x03\xe0\x41\x02\x12J\n\x0cmirror_state\x18\x06 \x01(\x0e\x32/.google.cloud.netapp.v1.Replication.MirrorStateB\x03\xe0\x41\x03\x12\x19\n\x07healthy\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x12\x64\x65stination_volume\x18\n \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12\x42\n\x0etransfer_stats\x18\x0b \x01(\x0b\x32%.google.cloud.netapp.v1.TransferStatsB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x0c \x03(\x0b\x32/.google.cloud.netapp.v1.Replication.LabelsEntry\x12\x18\n\x0b\x64\x65scription\x18\r \x01(\tH\x01\x88\x01\x01\x12\x62\n\x1d\x64\x65stination_volume_parameters\x18\x0e \x01(\x0b\x32\x33.google.cloud.netapp.v1.DestinationVolumeParametersB\x06\xe0\x41\x04\xe0\x41\x02\x12;\n\rsource_volume\x18\x0f \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1cnetapp.googleapis.com/Volume\x12Q\n\x16hybrid_peering_details\x18\x10 \x01(\x0b\x32,.google.cloud.netapp.v1.HybridPeeringDetailsB\x03\xe0\x41\x03\x12\x1d\n\x10\x63luster_location\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12_\n\x17hybrid_replication_type\x18\x13 \x01(\x0e\x32\x39.google.cloud.netapp.v1.Replication.HybridReplicationTypeB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x1b\n\x17PENDING_CLUSTER_PEERING\x10\x08\x12\x17\n\x13PENDING_SVM_PEERING\x10\t\"P\n\x0fReplicationRole\x12 \n\x1cREPLICATION_ROLE_UNSPECIFIED\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\x0f\n\x0b\x44\x45STINATION\x10\x02\"h\n\x13ReplicationSchedule\x12$\n REPLICATION_SCHEDULE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x45VERY_10_MINUTES\x10\x01\x12\n\n\x06HOURLY\x10\x02\x12\t\n\x05\x44\x41ILY\x10\x03\"\x8f\x01\n\x0bMirrorState\x12\x1c\n\x18MIRROR_STATE_UNSPECIFIED\x10\x00\x12\r\n\tPREPARING\x10\x01\x12\x0c\n\x08MIRRORED\x10\x02\x12\x0b\n\x07STOPPED\x10\x03\x12\x10\n\x0cTRANSFERRING\x10\x04\x12\x19\n\x15\x42\x41SELINE_TRANSFERRING\x10\x05\x12\x0b\n\x07\x41\x42ORTED\x10\x06\"k\n\x15HybridReplicationType\x12\'\n#HYBRID_REPLICATION_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tMIGRATION\x10\x01\x12\x1a\n\x16\x43ONTINUOUS_REPLICATION\x10\x02:\x97\x01\xea\x41\x93\x01\n!netapp.googleapis.com/Replication\x12Sprojects/{project}/locations/{location}/volumes/{volume}/replications/{replication}*\x0creplications2\x0breplicationB\n\n\x08_healthyB\x0e\n\x0c_description\"\x9b\x01\n\x14HybridPeeringDetails\x12\x16\n\tsubnet_ip\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x63ommand\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12<\n\x13\x63ommand_expiry_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x17\n\npassphrase\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x9d\x01\n\x17ListReplicationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"\x83\x01\n\x18ListReplicationsResponse\x12\x39\n\x0creplications\x18\x01 \x03(\x0b\x32#.google.cloud.netapp.v1.Replication\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"P\n\x15GetReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\x8b\x02\n\x1b\x44\x65stinationVolumeParameters\x12?\n\x0cstorage_pool\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/StoragePool\x12\x11\n\tvolume_id\x18\x02 \x01(\t\x12\x12\n\nshare_name\x18\x03 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00\x88\x01\x01\x12G\n\x0etiering_policy\x18\x05 \x01(\x0b\x32%.google.cloud.netapp.v1.TieringPolicyB\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_tiering_policy\"\xb1\x01\n\x18\x43reateReplicationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!netapp.googleapis.com/Replication\x12=\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x03\xe0\x41\x02\x12\x1b\n\x0ereplication_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"S\n\x18\x44\x65leteReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\x8f\x01\n\x18UpdateReplicationRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12=\n\x0breplication\x18\x02 \x01(\x0b\x32#.google.cloud.netapp.v1.ReplicationB\x03\xe0\x41\x02\"`\n\x16StopReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"S\n\x18ResumeReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"]\n\"ReverseReplicationDirectionRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\"\xcd\x01\n\x17\x45stablishPeeringRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/Replication\x12\x1e\n\x11peer_cluster_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rpeer_svm_name\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11peer_ip_addresses\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x1d\n\x10peer_volume_name\x18\x05 \x01(\tB\x03\xe0\x41\x02\"Q\n\x16SyncReplicationRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!netapp.googleapis.com/ReplicationB\xb2\x01\n\x1a\x63om.google.cloud.netapp.v1B\x10ReplicationProtoP\x01Z2cloud.google.com/go/netapp/apiv1/netapppb;netapppb\xaa\x02\x16Google.Cloud.NetApp.V1\xca\x02\x16Google\\Cloud\\NetApp\\V1\xea\x02\x19Google::Cloud::NetApp::V1b\x06proto3"
15
16
 
16
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
18
 
@@ -28,6 +29,7 @@ rescue TypeError
28
29
  imports = [
29
30
  ["google.protobuf.Duration", "google/protobuf/duration.proto"],
30
31
  ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ["google.cloud.netapp.v1.TieringPolicy", "google/cloud/netapp/v1/volume.proto"],
31
33
  ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
34
  ]
33
35
  imports.each do |type_name, expected_filename|
@@ -50,6 +52,8 @@ module Google
50
52
  Replication::ReplicationRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Replication.ReplicationRole").enummodule
51
53
  Replication::ReplicationSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Replication.ReplicationSchedule").enummodule
52
54
  Replication::MirrorState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Replication.MirrorState").enummodule
55
+ Replication::HybridReplicationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.Replication.HybridReplicationType").enummodule
56
+ HybridPeeringDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.HybridPeeringDetails").msgclass
53
57
  ListReplicationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListReplicationsRequest").msgclass
54
58
  ListReplicationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ListReplicationsResponse").msgclass
55
59
  GetReplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.GetReplicationRequest").msgclass
@@ -60,6 +64,8 @@ module Google
60
64
  StopReplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.StopReplicationRequest").msgclass
61
65
  ResumeReplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ResumeReplicationRequest").msgclass
62
66
  ReverseReplicationDirectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.ReverseReplicationDirectionRequest").msgclass
67
+ EstablishPeeringRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.EstablishPeeringRequest").msgclass
68
+ SyncReplicationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.netapp.v1.SyncReplicationRequest").msgclass
63
69
  end
64
70
  end
65
71
  end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetApp
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "1.3.0"
25
25
  end
26
26
  end
27
27
  end