Class: Google::Cloud::Compute::V1::Disks::Rest::Client::Configuration::Rpcs
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::Disks::Rest::Client::Configuration::Rpcs
- Defined in:
- lib/google/cloud/compute/v1/disks/rest/client.rb
Overview
Configuration RPC class for the Disks API.
Includes fields providing the configuration for each RPC in this service.
Each configuration object is of type Gapic::Config::Method
and includes
the following configuration fields:
-
timeout
(type:Numeric
) - The call timeout in seconds -
metadata
(type:Hash{Symbol=>String}
) - Additional headers -
retry_policy (*type:*
Hash`) - The retry policy. The policy fields include the following keys:-
:initial_delay
(type:Numeric
) - The initial delay in seconds. -
:max_delay
(type:Numeric
) - The max delay in seconds. -
:multiplier
(type:Numeric
) - The incremental backoff multiplier. -
:retry_codes
(type:Array<String>
) - The error codes that should trigger a retry.
-
Instance Attribute Summary collapse
-
#add_resource_policies ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
add_resource_policies
. -
#aggregated_list ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
aggregated_list
. -
#bulk_insert ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
bulk_insert
. -
#create_snapshot ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
create_snapshot
. -
#delete ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
delete
. -
#get ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get
. -
#get_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
get_iam_policy
. -
#insert ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
insert
. -
#list ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
list
. -
#remove_resource_policies ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
remove_resource_policies
. -
#resize ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
resize
. -
#set_iam_policy ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_iam_policy
. -
#set_labels ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
set_labels
. -
#start_async_replication ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
start_async_replication
. -
#stop_async_replication ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stop_async_replication
. -
#stop_group_async_replication ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
stop_group_async_replication
. -
#test_iam_permissions ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
test_iam_permissions
. -
#update ⇒ ::Gapic::Config::Method
readonly
RPC-specific configuration for
update
.
Instance Attribute Details
#add_resource_policies ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for add_resource_policies
2052 2053 2054 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2052 def add_resource_policies @add_resource_policies end |
#aggregated_list ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for aggregated_list
2057 2058 2059 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2057 def aggregated_list @aggregated_list end |
#bulk_insert ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for bulk_insert
2062 2063 2064 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2062 def bulk_insert @bulk_insert end |
#create_snapshot ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for create_snapshot
2067 2068 2069 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2067 def create_snapshot @create_snapshot end |
#delete ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for delete
2072 2073 2074 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2072 def delete @delete end |
#get ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get
2077 2078 2079 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2077 def get @get end |
#get_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for get_iam_policy
2082 2083 2084 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2082 def get_iam_policy @get_iam_policy end |
#insert ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for insert
2087 2088 2089 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2087 def insert @insert end |
#list ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for list
2092 2093 2094 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2092 def list @list end |
#remove_resource_policies ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for remove_resource_policies
2097 2098 2099 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2097 def remove_resource_policies @remove_resource_policies end |
#resize ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for resize
2102 2103 2104 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2102 def resize @resize end |
#set_iam_policy ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_iam_policy
2107 2108 2109 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2107 def set_iam_policy @set_iam_policy end |
#set_labels ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for set_labels
2112 2113 2114 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2112 def set_labels @set_labels end |
#start_async_replication ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for start_async_replication
2117 2118 2119 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2117 def start_async_replication @start_async_replication end |
#stop_async_replication ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stop_async_replication
2122 2123 2124 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2122 def stop_async_replication @stop_async_replication end |
#stop_group_async_replication ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for stop_group_async_replication
2127 2128 2129 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2127 def stop_group_async_replication @stop_group_async_replication end |
#test_iam_permissions ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for test_iam_permissions
2132 2133 2134 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2132 def @test_iam_permissions end |
#update ⇒ ::Gapic::Config::Method (readonly)
RPC-specific configuration for update
2137 2138 2139 |
# File 'lib/google/cloud/compute/v1/disks/rest/client.rb', line 2137 def update @update end |