Google Cloud Apigee Registry V1 Client - Class CreateInstanceRequest (0.2.7)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent resource of the Instance, of the form: projects/*/locations/*

↳ 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
TypeDescription
string

setParent

Required. Parent resource of the Instance, of the form: projects/*/locations/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstanceId

Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.

Returns
TypeDescription
string

setInstanceId

Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstance

Required. The Instance.

Returns
TypeDescription
Google\Cloud\ApigeeRegistry\V1\Instance|null

hasInstance

clearInstance

setInstance

Required. The Instance.

Parameter
NameDescription
var Google\Cloud\ApigeeRegistry\V1\Instance
Returns
TypeDescription
$this