GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::GDCHardwareManagement::Rest::ServiceStub (v0.3.0)

Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::GDCHardwareManagement::Rest::ServiceStub.

REST service stub for the GDCHardwareManagement service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_comment

def create_comment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_comment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_hardware

def create_hardware(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_hardware REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_hardware_group

def create_hardware_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_hardware_group REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_order

def create_order(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_order REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_site

def create_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_site REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_zone

def create_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_zone REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_hardware

def delete_hardware(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_hardware REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_hardware_group

def delete_hardware_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_hardware_group REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_order

def delete_order(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_order REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_site

def delete_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_site REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_zone

def delete_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_zone REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_change_log_entry

def get_change_log_entry(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ChangeLogEntry

Baseline implementation for the get_change_log_entry REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_comment

def get_comment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Comment

Baseline implementation for the get_comment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_hardware

def get_hardware(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware

Baseline implementation for the get_hardware REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_hardware_group

def get_hardware_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::HardwareGroup

Baseline implementation for the get_hardware_group REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_order

def get_order(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Order

Baseline implementation for the get_order REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_site

def get_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Site

Baseline implementation for the get_site REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_sku

def get_sku(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Sku

Baseline implementation for the get_sku REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_zone

def get_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Zone

Baseline implementation for the get_zone REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_change_log_entries

def list_change_log_entries(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListChangeLogEntriesResponse

Baseline implementation for the list_change_log_entries REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_comments

def list_comments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListCommentsResponse

Baseline implementation for the list_comments REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_hardware

def list_hardware(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListHardwareResponse

Baseline implementation for the list_hardware REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_hardware_groups

def list_hardware_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListHardwareGroupsResponse

Baseline implementation for the list_hardware_groups REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_orders

def list_orders(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListOrdersResponse

Baseline implementation for the list_orders REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_sites

def list_sites(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListSitesResponse

Baseline implementation for the list_sites REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_skus

def list_skus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListSkusResponse

Baseline implementation for the list_skus REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_zones

def list_zones(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::ListZonesResponse

Baseline implementation for the list_zones REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#record_action_on_comment

def record_action_on_comment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Comment

Baseline implementation for the record_action_on_comment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#signal_zone_state

def signal_zone_state(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the signal_zone_state REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#submit_order

def submit_order(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the submit_order REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_hardware

def update_hardware(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_hardware REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_hardware_group

def update_hardware_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_hardware_group REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_order

def update_order(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_order REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_site

def update_site(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_site REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_zone

def update_zone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_zone REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)