API hub V1 API - Class Google::Cloud::ApiHub::V1::CreateApiHubInstanceRequest (v0.3.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::CreateApiHubInstanceRequest.

The CreateApiHubInstance method's request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#api_hub_instance

def api_hub_instance() -> ::Google::Cloud::ApiHub::V1::ApiHubInstance
Returns

#api_hub_instance=

def api_hub_instance=(value) -> ::Google::Cloud::ApiHub::V1::ApiHubInstance
Parameter
Returns

#api_hub_instance_id

def api_hub_instance_id() -> ::String
Returns
  • (::String) — Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used.

    This value should be 4-40 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

#api_hub_instance_id=

def api_hub_instance_id=(value) -> ::String
Parameter
  • value (::String) — Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used.

    This value should be 4-40 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

Returns
  • (::String) — Optional. Identifier to assign to the Api Hub instance. Must be unique within scope of the parent resource. If the field is not provided, system generated id will be used.

    This value should be 4-40 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}
Returns
  • (::String) — Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}