Class: Google::Cloud::Notebooks::V2::NotebookService::Client::Configuration::Rpcs

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/notebooks/v2/notebook_service/client.rb

Overview

Configuration RPC class for the NotebookService 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 gRPC 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

Instance Attribute Details

#check_instance_upgradability::Gapic::Config::Method (readonly)

RPC-specific configuration for check_instance_upgradability

Returns:

  • (::Gapic::Config::Method)


1579
1580
1581
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1579

def check_instance_upgradability
  @check_instance_upgradability
end

#create_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for create_instance

Returns:

  • (::Gapic::Config::Method)


1549
1550
1551
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1549

def create_instance
  @create_instance
end

#delete_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for delete_instance

Returns:

  • (::Gapic::Config::Method)


1559
1560
1561
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1559

def delete_instance
  @delete_instance
end

#diagnose_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for diagnose_instance

Returns:

  • (::Gapic::Config::Method)


1594
1595
1596
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1594

def diagnose_instance
  @diagnose_instance
end

#get_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for get_instance

Returns:

  • (::Gapic::Config::Method)


1544
1545
1546
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1544

def get_instance
  @get_instance
end

#list_instances::Gapic::Config::Method (readonly)

RPC-specific configuration for list_instances

Returns:

  • (::Gapic::Config::Method)


1539
1540
1541
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1539

def list_instances
  @list_instances
end

#reset_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for reset_instance

Returns:

  • (::Gapic::Config::Method)


1574
1575
1576
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1574

def reset_instance
  @reset_instance
end

#rollback_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for rollback_instance

Returns:

  • (::Gapic::Config::Method)


1589
1590
1591
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1589

def rollback_instance
  @rollback_instance
end

#start_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for start_instance

Returns:

  • (::Gapic::Config::Method)


1564
1565
1566
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1564

def start_instance
  @start_instance
end

#stop_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for stop_instance

Returns:

  • (::Gapic::Config::Method)


1569
1570
1571
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1569

def stop_instance
  @stop_instance
end

#update_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for update_instance

Returns:

  • (::Gapic::Config::Method)


1554
1555
1556
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1554

def update_instance
  @update_instance
end

#upgrade_instance::Gapic::Config::Method (readonly)

RPC-specific configuration for upgrade_instance

Returns:

  • (::Gapic::Config::Method)


1584
1585
1586
# File 'lib/google/cloud/notebooks/v2/notebook_service/client.rb', line 1584

def upgrade_instance
  @upgrade_instance
end