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

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

The CreateHostProjectRegistration method's request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#host_project_registration

def host_project_registration() -> ::Google::Cloud::ApiHub::V1::HostProjectRegistration
Returns

#host_project_registration=

def host_project_registration=(value) -> ::Google::Cloud::ApiHub::V1::HostProjectRegistration
Parameter
Returns

#host_project_registration_id

def host_project_registration_id() -> ::String
Returns
  • (::String) — Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field.

#host_project_registration_id=

def host_project_registration_id=(value) -> ::String
Parameter
  • value (::String) — Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field.
Returns
  • (::String) — Required. The ID to use for the Host Project Registration, which will become the final component of the host project registration's resource name. The ID must be the same as the Google cloud project specified in the host_project_registration.gcp_project field.

#parent

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

#parent=

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