Reference documentation and code samples for the Google Cloud Api Hub V1 Client class CreateApiHubInstanceRequest.
The CreateApiHubInstance method's request.
Generated from protobuf message google.cloud.apihub.v1.CreateApiHubInstanceRequest
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}
↳ api_hub_instance_id
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
getParent
Required. The parent resource for the Api Hub instance resource.
Format: projects/{project}/locations/{location}
string
setParent
Required. The parent resource for the Api Hub instance resource.
Format: projects/{project}/locations/{location}
var
string
$this
getApiHubInstanceId
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]-_/
.
string
setApiHubInstanceId
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]-_/
.
var
string
$this
getApiHubInstance
Required. The ApiHub instance.
hasApiHubInstance
clearApiHubInstance
setApiHubInstance
Required. The ApiHub instance.
$this
static::build
parent
string
Required. The parent resource for the Api Hub instance resource.
Format: projects/{project}/locations/{location}
Please see ProvisioningClient::locationName()
for help formatting this field.
apiHubInstance
apiHubInstanceId
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]-_/
.

