Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class CreateInstanceRequest.
Request message for CreateInstance.
Generated from protobuf message google.cloud.apigeeregistry.v1.CreateInstanceRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent resource of the Instance, of the form: |
↳ instance_id |
string
Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource. |
↳ instance |
Google\Cloud\ApigeeRegistry\V1\Instance
Required. The Instance. |
getParent
Required. Parent resource of the Instance, of the form: projects/*/locations/*
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Parent resource of the Instance, of the form: projects/*/locations/*
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstanceId
Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setInstanceId
Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInstance
Required. The Instance.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\ApigeeRegistry\V1\Instance|null |
|
hasInstance
clearInstance
setInstance
Required. The Instance.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\ApigeeRegistry\V1\Instance
|
| Returns | |
|---|---|
| Type | Description |
$this |
|