SaaS Runtime V1BETA1 API - Class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasDeployments::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the SaaS Runtime V1BETA1 API class Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasDeployments::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_release

def create_release(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Release

Baseline implementation for the create_release REST call

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

#create_saas

def create_saas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas

Baseline implementation for the create_saas REST call

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

#create_tenant

def create_tenant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Tenant

Baseline implementation for the create_tenant REST call

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

#create_unit

def create_unit(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit

Baseline implementation for the create_unit REST call

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

#create_unit_kind

def create_unit_kind(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind

Baseline implementation for the create_unit_kind REST call

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

#create_unit_operation

def create_unit_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitOperation

Baseline implementation for the create_unit_operation REST call

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

#delete_release

def delete_release(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_release REST call

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

#delete_saas

def delete_saas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_saas REST call

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

#delete_tenant

def delete_tenant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_tenant REST call

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

#delete_unit

def delete_unit(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_unit REST call

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

#delete_unit_kind

def delete_unit_kind(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_unit_kind REST call

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

#delete_unit_operation

def delete_unit_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_unit_operation 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_release

def get_release(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Release

Baseline implementation for the get_release REST call

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

#get_saas

def get_saas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas

Baseline implementation for the get_saas REST call

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

#get_tenant

def get_tenant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Tenant

Baseline implementation for the get_tenant REST call

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

#get_unit

def get_unit(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit

Baseline implementation for the get_unit REST call

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

#get_unit_kind

def get_unit_kind(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind

Baseline implementation for the get_unit_kind REST call

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

#get_unit_operation

def get_unit_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitOperation

Baseline implementation for the get_unit_operation REST call

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

#list_releases

def list_releases(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListReleasesResponse

Baseline implementation for the list_releases REST call

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

#list_saas

def list_saas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListSaasResponse

Baseline implementation for the list_saas REST call

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

#list_tenants

def list_tenants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListTenantsResponse

Baseline implementation for the list_tenants REST call

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

#list_unit_kinds

def list_unit_kinds(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitKindsResponse

Baseline implementation for the list_unit_kinds REST call

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

#list_unit_operations

def list_unit_operations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitOperationsResponse

Baseline implementation for the list_unit_operations REST call

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

#list_units

def list_units(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListUnitsResponse

Baseline implementation for the list_units REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_release

def update_release(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Release

Baseline implementation for the update_release REST call

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

#update_saas

def update_saas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas

Baseline implementation for the update_saas REST call

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

#update_tenant

def update_tenant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Tenant

Baseline implementation for the update_tenant REST call

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

#update_unit

def update_unit(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Unit

Baseline implementation for the update_unit REST call

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

#update_unit_kind

def update_unit_kind(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitKind

Baseline implementation for the update_unit_kind REST call

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

#update_unit_operation

def update_unit_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitOperation

Baseline implementation for the update_unit_operation REST call

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