code
stringlengths 17
296k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function setCombinedDeniedPermission($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class);
$this->combined_denied_permission = $var;
return $this;
} | Indicates whether the permission in the request is listed as a denied
permission in the deny rule.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_denied_permission = 2;</code>
@param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching $var
@return $this | setCombinedDeniedPermission | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getDeniedPermissions()
{
return $this->denied_permissions;
} | Lists all denied permissions in the deny rule and indicates whether each
permission matches the permission in the request.
Each key identifies a denied permission in the rule, and each value
indicates whether the denied permission matches the permission in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;</code>
@return \Google\Protobuf\Internal\MapField | getDeniedPermissions | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setDeniedPermissions($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class);
$this->denied_permissions = $arr;
return $this;
} | Lists all denied permissions in the deny rule and indicates whether each
permission matches the permission in the request.
Each key identifies a denied permission in the rule, and each value
indicates whether the denied permission matches the permission in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> denied_permissions = 3;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setDeniedPermissions | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getCombinedExceptionPermission()
{
return $this->combined_exception_permission;
} | Indicates whether the permission in the request is listed as an exception
permission in the deny rule.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;</code>
@return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching|null | getCombinedExceptionPermission | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setCombinedExceptionPermission($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class);
$this->combined_exception_permission = $var;
return $this;
} | Indicates whether the permission in the request is listed as an exception
permission in the deny rule.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching combined_exception_permission = 4;</code>
@param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching $var
@return $this | setCombinedExceptionPermission | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getExceptionPermissions()
{
return $this->exception_permissions;
} | Lists all exception permissions in the deny rule and indicates whether each
permission matches the permission in the request.
Each key identifies a exception permission in the rule, and each value
indicates whether the exception permission matches the permission in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;</code>
@return \Google\Protobuf\Internal\MapField | getExceptionPermissions | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setExceptionPermissions($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedPermissionMatching::class);
$this->exception_permissions = $arr;
return $this;
} | Lists all exception permissions in the deny rule and indicates whether each
permission matches the permission in the request.
Each key identifies a exception permission in the rule, and each value
indicates whether the exception permission matches the permission in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching> exception_permissions = 5;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setExceptionPermissions | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getCombinedDeniedPrincipal()
{
return $this->combined_denied_principal;
} | Indicates whether the principal is listed as a denied principal in the
deny rule, either directly or through membership in a principal set.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;</code>
@return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching|null | getCombinedDeniedPrincipal | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setCombinedDeniedPrincipal($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class);
$this->combined_denied_principal = $var;
return $this;
} | Indicates whether the principal is listed as a denied principal in the
deny rule, either directly or through membership in a principal set.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_denied_principal = 6;</code>
@param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching $var
@return $this | setCombinedDeniedPrincipal | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getDeniedPrincipals()
{
return $this->denied_principals;
} | Lists all denied principals in the deny rule and indicates whether each
principal matches the principal in the request, either directly or through
membership in a principal set.
Each key identifies a denied principal in the rule, and each value
indicates whether the denied principal matches the principal in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;</code>
@return \Google\Protobuf\Internal\MapField | getDeniedPrincipals | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setDeniedPrincipals($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class);
$this->denied_principals = $arr;
return $this;
} | Lists all denied principals in the deny rule and indicates whether each
principal matches the principal in the request, either directly or through
membership in a principal set.
Each key identifies a denied principal in the rule, and each value
indicates whether the denied principal matches the principal in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> denied_principals = 7;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setDeniedPrincipals | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getCombinedExceptionPrincipal()
{
return $this->combined_exception_principal;
} | Indicates whether the principal is listed as an exception principal in the
deny rule, either directly or through membership in a principal set.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;</code>
@return \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching|null | getCombinedExceptionPrincipal | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setCombinedExceptionPrincipal($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class);
$this->combined_exception_principal = $var;
return $this;
} | Indicates whether the principal is listed as an exception principal in the
deny rule, either directly or through membership in a principal set.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching combined_exception_principal = 8;</code>
@param \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching $var
@return $this | setCombinedExceptionPrincipal | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getExceptionPrincipals()
{
return $this->exception_principals;
} | Lists all exception principals in the deny rule and indicates whether each
principal matches the principal in the request, either directly or through
membership in a principal set.
Each key identifies a exception principal in the rule, and each value
indicates whether the exception principal matches the principal in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;</code>
@return \Google\Protobuf\Internal\MapField | getExceptionPrincipals | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setExceptionPrincipals($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyRuleExplanation\AnnotatedDenyPrincipalMatching::class);
$this->exception_principals = $arr;
return $this;
} | Lists all exception principals in the deny rule and indicates whether each
principal matches the principal in the request, either directly or through
membership in a principal set.
Each key identifies a exception principal in the rule, and each value
indicates whether the exception principal matches the principal in the
request.
Generated from protobuf field <code>map<string, .google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedDenyPrincipalMatching> exception_principals = 9;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setExceptionPrincipals | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getRelevance()
{
return $this->relevance;
} | The relevance of this role binding to the overall determination for the
entire policy.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;</code>
@return int | getRelevance | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setRelevance($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\HeuristicRelevance::class);
$this->relevance = $var;
return $this;
} | The relevance of this role binding to the overall determination for the
entire policy.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.HeuristicRelevance relevance = 10;</code>
@param int $var
@return $this | setRelevance | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getCondition()
{
return $this->condition;
} | A condition expression that specifies when the deny rule denies the
principal access.
To learn about IAM Conditions, see
https://cloud.google.com/iam/help/conditions/overview.
Generated from protobuf field <code>.google.type.Expr condition = 11;</code>
@return \Google\Type\Expr|null | getCondition | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setCondition($var)
{
GPBUtil::checkMessage($var, \Google\Type\Expr::class);
$this->condition = $var;
return $this;
} | A condition expression that specifies when the deny rule denies the
principal access.
To learn about IAM Conditions, see
https://cloud.google.com/iam/help/conditions/overview.
Generated from protobuf field <code>.google.type.Expr condition = 11;</code>
@param \Google\Type\Expr $var
@return $this | setCondition | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getConditionExplanation()
{
return $this->condition_explanation;
} | Condition evaluation state for this role binding.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;</code>
@return \Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation|null | getConditionExplanation | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function setConditionExplanation($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation::class);
$this->condition_explanation = $var;
return $this;
} | Condition evaluation state for this role binding.
Generated from protobuf field <code>.google.cloud.policytroubleshooter.iam.v3.ConditionExplanation condition_explanation = 12;</code>
@param \Google\Cloud\PolicyTroubleshooter\Iam\V3\ConditionExplanation $var
@return $this | setConditionExplanation | php | googleapis/google-cloud-php | PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | https://github.com/googleapis/google-cloud-php/blob/master/PolicyTroubleshooterIam/src/V3/DenyRuleExplanation.php | Apache-2.0 |
public function getId()
{
return $this->id;
} | Unique ID used to map custom placeholder to parameters in fulfillment.
Generated from protobuf field <code>string id = 1;</code>
@return string | getId | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Generator/Placeholder.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Generator/Placeholder.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | Unique ID used to map custom placeholder to parameters in fulfillment.
Generated from protobuf field <code>string id = 1;</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Generator/Placeholder.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Generator/Placeholder.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Custom placeholder value in the prompt text.
Generated from protobuf field <code>string name = 2;</code>
@return string | getName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Generator/Placeholder.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Generator/Placeholder.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Custom placeholder value in the prompt text.
Generated from protobuf field <code>string name = 2;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Generator/Placeholder.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Generator/Placeholder.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of the function which should be deleted.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | Functions/src/V2/DeleteFunctionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Functions/src/V2/DeleteFunctionRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the function which should be deleted.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Functions/src/V2/DeleteFunctionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Functions/src/V2/DeleteFunctionRequest.php | Apache-2.0 |
public function getProject()
{
return $this->project;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];</code>
@return string | getProject | php | googleapis/google-cloud-php | Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | Apache-2.0 |
public function setProject($var)
{
GPBUtil::checkString($var, True);
$this->project = $var;
return $this;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];</code>
@param string $var
@return $this | setProject | php | googleapis/google-cloud-php | Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | Apache-2.0 |
public function getPublicAdvertisedPrefixResource()
{
return $this->public_advertised_prefix_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.PublicAdvertisedPrefix public_advertised_prefix_resource = 233614223 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\PublicAdvertisedPrefix|null | getPublicAdvertisedPrefixResource | php | googleapis/google-cloud-php | Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | Apache-2.0 |
public function setPublicAdvertisedPrefixResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\PublicAdvertisedPrefix::class);
$this->public_advertised_prefix_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.PublicAdvertisedPrefix public_advertised_prefix_resource = 233614223 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\PublicAdvertisedPrefix $var
@return $this | setPublicAdvertisedPrefixResource | php | googleapis/google-cloud-php | Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | Apache-2.0 |
public function getRequestId()
{
return isset($this->request_id) ? $this->request_id : '';
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InsertPublicAdvertisedPrefixeRequest.php | Apache-2.0 |
public function getRenewalSettings()
{
return $this->renewal_settings;
} | Required. New renewal settings.
Generated from protobuf field <code>.google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Channel\V1\RenewalSettings|null | getRenewalSettings | php | googleapis/google-cloud-php | Channel/src/V1/ChangeRenewalSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ChangeRenewalSettingsRequest.php | Apache-2.0 |
public function setRenewalSettings($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Channel\V1\RenewalSettings::class);
$this->renewal_settings = $var;
return $this;
} | Required. New renewal settings.
Generated from protobuf field <code>.google.cloud.channel.v1.RenewalSettings renewal_settings = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Channel\V1\RenewalSettings $var
@return $this | setRenewalSettings | php | googleapis/google-cloud-php | Channel/src/V1/ChangeRenewalSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ChangeRenewalSettingsRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Optional. You can specify an optional unique request ID, and if you need to
retry your request, the server will know to ignore the request if it's
complete.
For example, you make an initial request and the request times out. If you
make the request again with the same request ID, the server can check if
it received the original operation with the same request ID. If it did, it
will ignore the second request.
The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
with the exception that zero UUID is not supported
(`00000000-0000-0000-0000-000000000000`).
Generated from protobuf field <code>string request_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Channel/src/V1/ChangeRenewalSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ChangeRenewalSettingsRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Optional. You can specify an optional unique request ID, and if you need to
retry your request, the server will know to ignore the request if it's
complete.
For example, you make an initial request and the request times out. If you
make the request again with the same request ID, the server can check if
it received the original operation with the same request ID. If it did, it
will ignore the second request.
The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122)
with the exception that zero UUID is not supported
(`00000000-0000-0000-0000-000000000000`).
Generated from protobuf field <code>string request_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | Channel/src/V1/ChangeRenewalSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Channel/src/V1/ChangeRenewalSettingsRequest.php | Apache-2.0 |
public function getNetwork()
{
return $this->network;
} | Optional. The name of the VPC that this VM instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
Generated from protobuf field <code>string network = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getNetwork | php | googleapis/google-cloud-php | Notebooks/src/V2/NetworkInterface.php | https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php | Apache-2.0 |
public function setNetwork($var)
{
GPBUtil::checkString($var, True);
$this->network = $var;
return $this;
} | Optional. The name of the VPC that this VM instance is in.
Format:
`projects/{project_id}/global/networks/{network_id}`
Generated from protobuf field <code>string network = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setNetwork | php | googleapis/google-cloud-php | Notebooks/src/V2/NetworkInterface.php | https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php | Apache-2.0 |
public function getSubnet()
{
return $this->subnet;
} | Optional. The name of the subnet that this VM instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
Generated from protobuf field <code>string subnet = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getSubnet | php | googleapis/google-cloud-php | Notebooks/src/V2/NetworkInterface.php | https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php | Apache-2.0 |
public function setSubnet($var)
{
GPBUtil::checkString($var, True);
$this->subnet = $var;
return $this;
} | Optional. The name of the subnet that this VM instance is in.
Format:
`projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}`
Generated from protobuf field <code>string subnet = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setSubnet | php | googleapis/google-cloud-php | Notebooks/src/V2/NetworkInterface.php | https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php | Apache-2.0 |
public function getNicType()
{
return $this->nic_type;
} | Optional. The type of vNIC to be used on this interface. This may be gVNIC
or VirtioNet.
Generated from protobuf field <code>.google.cloud.notebooks.v2.NetworkInterface.NicType nic_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getNicType | php | googleapis/google-cloud-php | Notebooks/src/V2/NetworkInterface.php | https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php | Apache-2.0 |
public function setNicType($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Notebooks\V2\NetworkInterface\NicType::class);
$this->nic_type = $var;
return $this;
} | Optional. The type of vNIC to be used on this interface. This may be gVNIC
or VirtioNet.
Generated from protobuf field <code>.google.cloud.notebooks.v2.NetworkInterface.NicType nic_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setNicType | php | googleapis/google-cloud-php | Notebooks/src/V2/NetworkInterface.php | https://github.com/googleapis/google-cloud-php/blob/master/Notebooks/src/V2/NetworkInterface.php | Apache-2.0 |
public function getAgentCreationConfig()
{
return $this->agent_creation_config;
} | The configurationt generate the Dialogflow agent that is associated to
this Engine.
Note that these configurations are one-time consumed by
and passed to Dialogflow service. It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
API after engine creation.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;</code>
@return \Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig\AgentCreationConfig|null | getAgentCreationConfig | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | Apache-2.0 |
public function setAgentCreationConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig\AgentCreationConfig::class);
$this->agent_creation_config = $var;
return $this;
} | The configurationt generate the Dialogflow agent that is associated to
this Engine.
Note that these configurations are one-time consumed by
and passed to Dialogflow service. It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
API after engine creation.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.Engine.ChatEngineConfig.AgentCreationConfig agent_creation_config = 1;</code>
@param \Google\Cloud\DiscoveryEngine\V1\Engine\ChatEngineConfig\AgentCreationConfig $var
@return $this | setAgentCreationConfig | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | Apache-2.0 |
public function getDialogflowAgentToLink()
{
return $this->dialogflow_agent_to_link;
} | The resource name of an exist Dialogflow agent to link to this Chat
Engine. Customers can either provide `agent_creation_config` to create
agent or provide an agent name that links the agent with the Chat engine.
Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>`.
Note that the `dialogflow_agent_to_link` are one-time consumed by and
passed to Dialogflow service. It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
API after engine creation. Use
[ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent]
for actual agent association after Engine is created.
Generated from protobuf field <code>string dialogflow_agent_to_link = 2;</code>
@return string | getDialogflowAgentToLink | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | Apache-2.0 |
public function setDialogflowAgentToLink($var)
{
GPBUtil::checkString($var, True);
$this->dialogflow_agent_to_link = $var;
return $this;
} | The resource name of an exist Dialogflow agent to link to this Chat
Engine. Customers can either provide `agent_creation_config` to create
agent or provide an agent name that links the agent with the Chat engine.
Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>`.
Note that the `dialogflow_agent_to_link` are one-time consumed by and
passed to Dialogflow service. It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
API after engine creation. Use
[ChatEngineMetadata.dialogflow_agent][google.cloud.discoveryengine.v1.Engine.ChatEngineMetadata.dialogflow_agent]
for actual agent association after Engine is created.
Generated from protobuf field <code>string dialogflow_agent_to_link = 2;</code>
@param string $var
@return $this | setDialogflowAgentToLink | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | Apache-2.0 |
public function getAllowCrossRegion()
{
return $this->allow_cross_region;
} | Optional. If the flag set to true, we allow the agent and engine are in
different locations, otherwise the agent and engine are required to be in
the same location. The flag is set to false by default.
Note that the `allow_cross_region` are one-time consumed by and
passed to
[EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine].
It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
API after engine creation.
Generated from protobuf field <code>bool allow_cross_region = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return bool | getAllowCrossRegion | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | Apache-2.0 |
public function setAllowCrossRegion($var)
{
GPBUtil::checkBool($var);
$this->allow_cross_region = $var;
return $this;
} | Optional. If the flag set to true, we allow the agent and engine are in
different locations, otherwise the agent and engine are required to be in
the same location. The flag is set to false by default.
Note that the `allow_cross_region` are one-time consumed by and
passed to
[EngineService.CreateEngine][google.cloud.discoveryengine.v1.EngineService.CreateEngine].
It means they cannot be retrieved using
[EngineService.GetEngine][google.cloud.discoveryengine.v1.EngineService.GetEngine]
or
[EngineService.ListEngines][google.cloud.discoveryengine.v1.EngineService.ListEngines]
API after engine creation.
Generated from protobuf field <code>bool allow_cross_region = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param bool $var
@return $this | setAllowCrossRegion | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/Engine/ChatEngineConfig.php | Apache-2.0 |
public function getAllocatablePrefixLength()
{
return isset($this->allocatable_prefix_length) ? $this->allocatable_prefix_length : 0;
} | The allocatable prefix length supported by this PublicDelegatedSubPrefix.
Generated from protobuf field <code>optional int32 allocatable_prefix_length = 38427446;</code>
@return int | getAllocatablePrefixLength | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setAllocatablePrefixLength($var)
{
GPBUtil::checkInt32($var);
$this->allocatable_prefix_length = $var;
return $this;
} | The allocatable prefix length supported by this PublicDelegatedSubPrefix.
Generated from protobuf field <code>optional int32 allocatable_prefix_length = 38427446;</code>
@param int $var
@return $this | setAllocatablePrefixLength | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getDelegateeProject()
{
return isset($this->delegatee_project) ? $this->delegatee_project : '';
} | Name of the project scoping this PublicDelegatedSubPrefix.
Generated from protobuf field <code>optional string delegatee_project = 414860634;</code>
@return string | getDelegateeProject | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setDelegateeProject($var)
{
GPBUtil::checkString($var, True);
$this->delegatee_project = $var;
return $this;
} | Name of the project scoping this PublicDelegatedSubPrefix.
Generated from protobuf field <code>optional string delegatee_project = 414860634;</code>
@param string $var
@return $this | setDelegateeProject | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getDescription()
{
return isset($this->description) ? $this->description : '';
} | An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field <code>optional string description = 422937596;</code>
@return string | getDescription | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field <code>optional string description = 422937596;</code>
@param string $var
@return $this | setDescription | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getIpCidrRange()
{
return isset($this->ip_cidr_range) ? $this->ip_cidr_range : '';
} | The IP address range, in CIDR format, represented by this sub public delegated prefix.
Generated from protobuf field <code>optional string ip_cidr_range = 98117322;</code>
@return string | getIpCidrRange | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setIpCidrRange($var)
{
GPBUtil::checkString($var, True);
$this->ip_cidr_range = $var;
return $this;
} | The IP address range, in CIDR format, represented by this sub public delegated prefix.
Generated from protobuf field <code>optional string ip_cidr_range = 98117322;</code>
@param string $var
@return $this | setIpCidrRange | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getIsAddress()
{
return isset($this->is_address) ? $this->is_address : false;
} | Whether the sub prefix is delegated to create Address resources in the delegatee project.
Generated from protobuf field <code>optional bool is_address = 352617951;</code>
@return bool | getIsAddress | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setIsAddress($var)
{
GPBUtil::checkBool($var);
$this->is_address = $var;
return $this;
} | Whether the sub prefix is delegated to create Address resources in the delegatee project.
Generated from protobuf field <code>optional bool is_address = 352617951;</code>
@param bool $var
@return $this | setIsAddress | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getMode()
{
return isset($this->mode) ? $this->mode : '';
} | The PublicDelegatedSubPrefix mode for IPv6 only.
Check the Mode enum for the list of possible values.
Generated from protobuf field <code>optional string mode = 3357091;</code>
@return string | getMode | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setMode($var)
{
GPBUtil::checkString($var, True);
$this->mode = $var;
return $this;
} | The PublicDelegatedSubPrefix mode for IPv6 only.
Check the Mode enum for the list of possible values.
Generated from protobuf field <code>optional string mode = 3357091;</code>
@param string $var
@return $this | setMode | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getName()
{
return isset($this->name) ? $this->name : '';
} | The name of the sub public delegated prefix.
Generated from protobuf field <code>optional string name = 3373707;</code>
@return string | getName | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | The name of the sub public delegated prefix.
Generated from protobuf field <code>optional string name = 3373707;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getRegion()
{
return isset($this->region) ? $this->region : '';
} | [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
Generated from protobuf field <code>optional string region = 138946292;</code>
@return string | getRegion | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
Generated from protobuf field <code>optional string region = 138946292;</code>
@param string $var
@return $this | setRegion | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getStatus()
{
return isset($this->status) ? $this->status : '';
} | [Output Only] The status of the sub public delegated prefix.
Check the Status enum for the list of possible values.
Generated from protobuf field <code>optional string status = 181260274;</code>
@return string | getStatus | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function setStatus($var)
{
GPBUtil::checkString($var, True);
$this->status = $var;
return $this;
} | [Output Only] The status of the sub public delegated prefix.
Check the Status enum for the list of possible values.
Generated from protobuf field <code>optional string status = 181260274;</code>
@param string $var
@return $this | setStatus | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixPublicDelegatedSubPrefix.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Full resource name of
[Sitemap][google.cloud.discoveryengine.v1.Sitemap], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`.
If the caller does not have permission to access the
[Sitemap][google.cloud.discoveryengine.v1.Sitemap], regardless of whether
or not it exists, a PERMISSION_DENIED error is returned.
If the requested [Sitemap][google.cloud.discoveryengine.v1.Sitemap] does
not exist, a NOT_FOUND error is returned.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/DeleteSitemapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/DeleteSitemapRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Full resource name of
[Sitemap][google.cloud.discoveryengine.v1.Sitemap], such as
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}`.
If the caller does not have permission to access the
[Sitemap][google.cloud.discoveryengine.v1.Sitemap], regardless of whether
or not it exists, a PERMISSION_DENIED error is returned.
If the requested [Sitemap][google.cloud.discoveryengine.v1.Sitemap] does
not exist, a NOT_FOUND error is returned.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/DeleteSitemapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/DeleteSitemapRequest.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The name of the parent resource where the repository will be
created.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/CreateRepositoryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The name of the parent resource where the repository will be
created.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/CreateRepositoryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php | Apache-2.0 |
public function getRepositoryId()
{
return $this->repository_id;
} | Required. The repository id to use for this repository.
Generated from protobuf field <code>string repository_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getRepositoryId | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/CreateRepositoryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php | Apache-2.0 |
public function setRepositoryId($var)
{
GPBUtil::checkString($var, True);
$this->repository_id = $var;
return $this;
} | Required. The repository id to use for this repository.
Generated from protobuf field <code>string repository_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setRepositoryId | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/CreateRepositoryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php | Apache-2.0 |
public function getRepository()
{
return $this->repository;
} | Required. The repository to be created.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.Repository repository = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\ArtifactRegistry\V1\Repository|null | getRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/CreateRepositoryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php | Apache-2.0 |
public function setRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\Repository::class);
$this->repository = $var;
return $this;
} | Required. The repository to be created.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.Repository repository = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\ArtifactRegistry\V1\Repository $var
@return $this | setRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/CreateRepositoryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/CreateRepositoryRequest.php | Apache-2.0 |
public function getUri()
{
return $this->uri;
} | Required. URI to a Cloud Storage bucket in the format:
`gs://<bucket_name>/<path_inside_bucket>`. The path inside the bucket is
optional.
Generated from protobuf field <code>string uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getUri | php | googleapis/google-cloud-php | Parallelstore/src/V1/DestinationGcsBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/DestinationGcsBucket.php | Apache-2.0 |
public function setUri($var)
{
GPBUtil::checkString($var, True);
$this->uri = $var;
return $this;
} | Required. URI to a Cloud Storage bucket in the format:
`gs://<bucket_name>/<path_inside_bucket>`. The path inside the bucket is
optional.
Generated from protobuf field <code>string uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setUri | php | googleapis/google-cloud-php | Parallelstore/src/V1/DestinationGcsBucket.php | https://github.com/googleapis/google-cloud-php/blob/master/Parallelstore/src/V1/DestinationGcsBucket.php | Apache-2.0 |
public function getLastStartTime()
{
return isset($this->last_start_time) ? $this->last_start_time : '';
} | [Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
Generated from protobuf field <code>optional string last_start_time = 34545107;</code>
@return string | getLastStartTime | php | googleapis/google-cloud-php | Compute/src/V1/ScalingScheduleStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php | Apache-2.0 |
public function setLastStartTime($var)
{
GPBUtil::checkString($var, True);
$this->last_start_time = $var;
return $this;
} | [Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.
Generated from protobuf field <code>optional string last_start_time = 34545107;</code>
@param string $var
@return $this | setLastStartTime | php | googleapis/google-cloud-php | Compute/src/V1/ScalingScheduleStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php | Apache-2.0 |
public function getNextStartTime()
{
return isset($this->next_start_time) ? $this->next_start_time : '';
} | [Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
Generated from protobuf field <code>optional string next_start_time = 97270102;</code>
@return string | getNextStartTime | php | googleapis/google-cloud-php | Compute/src/V1/ScalingScheduleStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php | Apache-2.0 |
public function setNextStartTime($var)
{
GPBUtil::checkString($var, True);
$this->next_start_time = $var;
return $this;
} | [Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.
Generated from protobuf field <code>optional string next_start_time = 97270102;</code>
@param string $var
@return $this | setNextStartTime | php | googleapis/google-cloud-php | Compute/src/V1/ScalingScheduleStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php | Apache-2.0 |
public function getState()
{
return isset($this->state) ? $this->state : '';
} | [Output Only] The current state of a scaling schedule.
Check the State enum for the list of possible values.
Generated from protobuf field <code>optional string state = 109757585;</code>
@return string | getState | php | googleapis/google-cloud-php | Compute/src/V1/ScalingScheduleStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkString($var, True);
$this->state = $var;
return $this;
} | [Output Only] The current state of a scaling schedule.
Check the State enum for the list of possible values.
Generated from protobuf field <code>optional string state = 109757585;</code>
@param string $var
@return $this | setState | php | googleapis/google-cloud-php | Compute/src/V1/ScalingScheduleStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/ScalingScheduleStatus.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The VOD session which the ad tag details belong to, in the form
of `projects/{project}/locations/{location}/vodSessions/{vod_session_id}`.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The VOD session which the ad tag details belong to, in the form
of `projects/{project}/locations/{location}/vodSessions/{vod_session_id}`.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | The maximum number of items to return.
Generated from protobuf field <code>int32 page_size = 2;</code>
@return int | getPageSize | php | googleapis/google-cloud-php | VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | The maximum number of items to return.
Generated from protobuf field <code>int32 page_size = 2;</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | The next_page_token value returned from a previous List request, if any.
Generated from protobuf field <code>string page_token = 3;</code>
@return string | getPageToken | php | googleapis/google-cloud-php | VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | The next_page_token value returned from a previous List request, if any.
Generated from protobuf field <code>string page_token = 3;</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VideoStitcher/src/V1/ListVodAdTagDetailsRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The resource name of the HCX activation key to retrieve.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
`projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getName | php | googleapis/google-cloud-php | VmwareEngine/src/V1/GetHcxActivationKeyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/GetHcxActivationKeyRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The resource name of the HCX activation key to retrieve.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
`projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | VmwareEngine/src/V1/GetHcxActivationKeyRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmwareEngine/src/V1/GetHcxActivationKeyRequest.php | Apache-2.0 |
public function getReplicas()
{
return $this->replicas;
} | Output only. The list of replica statuses for the
[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
Generated from protobuf field <code>repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Internal\RepeatedField | getReplicas | php | googleapis/google-cloud-php | SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php | Apache-2.0 |
public function setReplicas($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecretManager\V1beta2\ReplicationStatus\UserManagedStatus\ReplicaStatus::class);
$this->replicas = $arr;
return $this;
} | Output only. The list of replica statuses for the
[SecretVersion][google.cloud.secretmanager.v1beta2.SecretVersion].
Generated from protobuf field <code>repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<\Google\Cloud\SecretManager\V1beta2\ReplicationStatus\UserManagedStatus\ReplicaStatus>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setReplicas | php | googleapis/google-cloud-php | SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php | https://github.com/googleapis/google-cloud-php/blob/master/SecretManager/src/V1beta2/ReplicationStatus/UserManagedStatus.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. Parent value for ListDatabasesRequest.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getParent | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. Parent value for ListDatabasesRequest.
Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setParent | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
public function getPageSize()
{
return $this->page_size;
} | Optional. The maximum number of databases to return. The service may return
fewer than this value. If unspecified, 2000 is the default page_size. The
max value of page_size will be 4000, values above max will be coerced to
max.
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@return int | getPageSize | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
public function setPageSize($var)
{
GPBUtil::checkInt32($var);
$this->page_size = $var;
return $this;
} | Optional. The maximum number of databases to return. The service may return
fewer than this value. If unspecified, 2000 is the default page_size. The
max value of page_size will be 4000, values above max will be coerced to
max.
Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
@param int $var
@return $this | setPageSize | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
public function getPageToken()
{
return $this->page_token;
} | Optional. A page token, received from a previous `ListDatabases` call.
This should be provided to retrieve the subsequent page.
This field is currently not supported, its value will be ignored if passed.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPageToken | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
public function setPageToken($var)
{
GPBUtil::checkString($var, True);
$this->page_token = $var;
return $this;
} | Optional. A page token, received from a previous `ListDatabases` call.
This should be provided to retrieve the subsequent page.
This field is currently not supported, its value will be ignored if passed.
Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPageToken | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
public function getFilter()
{
return $this->filter;
} | Optional. Filtering results.
This field is currently not supported, its value will be ignored if passed.
Generated from protobuf field <code>string filter = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getFilter | php | googleapis/google-cloud-php | AlloyDb/src/V1/ListDatabasesRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AlloyDb/src/V1/ListDatabasesRequest.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.