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 setSupportTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->support_time = $var;
return $this;
} | Output only. When the version is supported.
Generated from protobuf field <code>.google.protobuf.Timestamp support_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setSupportTime | php | googleapis/google-cloud-php | Config/src/V1/TerraformVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php | Apache-2.0 |
public function getDeprecateTime()
{
return $this->deprecate_time;
} | Output only. When the version is deprecated.
Generated from protobuf field <code>optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getDeprecateTime | php | googleapis/google-cloud-php | Config/src/V1/TerraformVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php | Apache-2.0 |
public function setDeprecateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->deprecate_time = $var;
return $this;
} | Output only. When the version is deprecated.
Generated from protobuf field <code>optional .google.protobuf.Timestamp deprecate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setDeprecateTime | php | googleapis/google-cloud-php | Config/src/V1/TerraformVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php | Apache-2.0 |
public function getObsoleteTime()
{
return $this->obsolete_time;
} | Output only. When the version is obsolete.
Generated from protobuf field <code>optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getObsoleteTime | php | googleapis/google-cloud-php | Config/src/V1/TerraformVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php | Apache-2.0 |
public function setObsoleteTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->obsolete_time = $var;
return $this;
} | Output only. When the version is obsolete.
Generated from protobuf field <code>optional .google.protobuf.Timestamp obsolete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setObsoleteTime | php | googleapis/google-cloud-php | Config/src/V1/TerraformVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Config/src/V1/TerraformVersion.php | Apache-2.0 |
public function getId()
{
return $this->id;
} | Required. Identifies the event. Producers MUST ensure that source + id is
unique for each distinct event.
Generated from protobuf field <code>string id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getId | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | Required. Identifies the event. Producers MUST ensure that source + id is
unique for each distinct event.
Generated from protobuf field <code>string id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getSource()
{
return $this->source;
} | Required. Identifies the context in which an event happened.
URI-reference
Generated from protobuf field <code>string source = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getSource | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setSource($var)
{
GPBUtil::checkString($var, True);
$this->source = $var;
return $this;
} | Required. Identifies the context in which an event happened.
URI-reference
Generated from protobuf field <code>string source = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setSource | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getSpecVersion()
{
return $this->spec_version;
} | Required. The version of the CloudEvents specification which the event
uses.
Generated from protobuf field <code>string spec_version = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getSpecVersion | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setSpecVersion($var)
{
GPBUtil::checkString($var, True);
$this->spec_version = $var;
return $this;
} | Required. The version of the CloudEvents specification which the event
uses.
Generated from protobuf field <code>string spec_version = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setSpecVersion | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getType()
{
return $this->type;
} | Required. This attribute contains a value describing the type of event
related to the originating occurrence.
Generated from protobuf field <code>string type = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getType | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setType($var)
{
GPBUtil::checkString($var, True);
$this->type = $var;
return $this;
} | Required. This attribute contains a value describing the type of event
related to the originating occurrence.
Generated from protobuf field <code>string type = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setType | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getAttributes()
{
return $this->attributes;
} | Optional. Used for Optional & Extension Attributes
Generated from protobuf field <code>map<string, .google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue> attributes = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\MapField | getAttributes | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setAttributes($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Eventarc\Publishing\V1\CloudEvent\CloudEventAttributeValue::class);
$this->attributes = $arr;
return $this;
} | Optional. Used for Optional & Extension Attributes
Generated from protobuf field <code>map<string, .google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue> attributes = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setAttributes | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getBinaryData()
{
return $this->readOneof(6);
} | Optional. Binary data.
Generated from protobuf field <code>bytes binary_data = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getBinaryData | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setBinaryData($var)
{
GPBUtil::checkString($var, False);
$this->writeOneof(6, $var);
return $this;
} | Optional. Binary data.
Generated from protobuf field <code>bytes binary_data = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setBinaryData | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getTextData()
{
return $this->readOneof(7);
} | Optional. Text data.
Generated from protobuf field <code>string text_data = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getTextData | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setTextData($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(7, $var);
return $this;
} | Optional. Text data.
Generated from protobuf field <code>string text_data = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setTextData | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getProtoData()
{
return $this->readOneof(8);
} | Optional. Proto data.
Generated from protobuf field <code>.google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Any|null | getProtoData | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function setProtoData($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Any::class);
$this->writeOneof(8, $var);
return $this;
} | Optional. Proto data.
Generated from protobuf field <code>.google.protobuf.Any proto_data = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Protobuf\Any $var
@return $this | setProtoData | php | googleapis/google-cloud-php | EventarcPublishing/src/V1/CloudEvent.php | https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent.php | Apache-2.0 |
public function getObjectUri()
{
return $this->object_uri;
} | Required. Format: `gs://<bucket-name>/<object-name>`
Generated from protobuf field <code>string object_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getObjectUri | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php | Apache-2.0 |
public function setObjectUri($var)
{
GPBUtil::checkString($var, True);
$this->object_uri = $var;
return $this;
} | Required. Format: `gs://<bucket-name>/<object-name>`
Generated from protobuf field <code>string object_uri = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setObjectUri | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ImportIssueModelRequest/GcsSource.php | Apache-2.0 |
public function getCloneJobs()
{
return $this->clone_jobs;
} | Output only. The list of clone jobs response.
Generated from protobuf field <code>repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Internal\RepeatedField | getCloneJobs | php | googleapis/google-cloud-php | VmMigration/src/V1/ListCloneJobsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php | Apache-2.0 |
public function setCloneJobs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\VMMigration\V1\CloneJob::class);
$this->clone_jobs = $arr;
return $this;
} | Output only. The list of clone jobs response.
Generated from protobuf field <code>repeated .google.cloud.vmmigration.v1.CloneJob clone_jobs = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<\Google\Cloud\VMMigration\V1\CloneJob>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setCloneJobs | php | googleapis/google-cloud-php | VmMigration/src/V1/ListCloneJobsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php | Apache-2.0 |
public function getNextPageToken()
{
return $this->next_page_token;
} | Output only. A token, which can be sent as `page_token` to retrieve the
next page. If this field is omitted, there are no subsequent pages.
Generated from protobuf field <code>string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | VmMigration/src/V1/ListCloneJobsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | Output only. A token, which can be sent as `page_token` to retrieve the
next page. If this field is omitted, there are no subsequent pages.
Generated from protobuf field <code>string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | VmMigration/src/V1/ListCloneJobsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php | Apache-2.0 |
public function getUnreachable()
{
return $this->unreachable;
} | Output only. Locations that could not be reached.
Generated from protobuf field <code>repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Internal\RepeatedField | getUnreachable | php | googleapis/google-cloud-php | VmMigration/src/V1/ListCloneJobsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php | Apache-2.0 |
public function setUnreachable($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->unreachable = $arr;
return $this;
} | Output only. Locations that could not be reached.
Generated from protobuf field <code>repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setUnreachable | php | googleapis/google-cloud-php | VmMigration/src/V1/ListCloneJobsResponse.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/ListCloneJobsResponse.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of the shipping setting to retrieve.
Format: `accounts/{account}/shippingsetting`
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 | ShoppingMerchantAccounts/src/V1beta/GetShippingSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/GetShippingSettingsRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the shipping setting to retrieve.
Format: `accounts/{account}/shippingsetting`
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 | ShoppingMerchantAccounts/src/V1beta/GetShippingSettingsRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/GetShippingSettingsRequest.php | Apache-2.0 |
public function getTable()
{
return $this->table;
} | The table to which CSV data is imported.
Generated from protobuf field <code>string table = 1;</code>
@return string | getTable | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function setTable($var)
{
GPBUtil::checkString($var, True);
$this->table = $var;
return $this;
} | The table to which CSV data is imported.
Generated from protobuf field <code>string table = 1;</code>
@param string $var
@return $this | setTable | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function getColumns()
{
return $this->columns;
} | The columns to which CSV data is imported. If not specified, all columns
of the database table are loaded with CSV data.
Generated from protobuf field <code>repeated string columns = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getColumns | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function setColumns($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->columns = $arr;
return $this;
} | The columns to which CSV data is imported. If not specified, all columns
of the database table are loaded with CSV data.
Generated from protobuf field <code>repeated string columns = 2;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setColumns | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function getEscapeCharacter()
{
return $this->escape_character;
} | Specifies the character that should appear before a data character that
needs to be escaped.
Generated from protobuf field <code>string escape_character = 4;</code>
@return string | getEscapeCharacter | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function setEscapeCharacter($var)
{
GPBUtil::checkString($var, True);
$this->escape_character = $var;
return $this;
} | Specifies the character that should appear before a data character that
needs to be escaped.
Generated from protobuf field <code>string escape_character = 4;</code>
@param string $var
@return $this | setEscapeCharacter | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function getQuoteCharacter()
{
return $this->quote_character;
} | Specifies the quoting character to be used when a data value is quoted.
Generated from protobuf field <code>string quote_character = 5;</code>
@return string | getQuoteCharacter | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function setQuoteCharacter($var)
{
GPBUtil::checkString($var, True);
$this->quote_character = $var;
return $this;
} | Specifies the quoting character to be used when a data value is quoted.
Generated from protobuf field <code>string quote_character = 5;</code>
@param string $var
@return $this | setQuoteCharacter | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function getFieldsTerminatedBy()
{
return $this->fields_terminated_by;
} | Specifies the character that separates columns within each row (line) of
the file.
Generated from protobuf field <code>string fields_terminated_by = 6;</code>
@return string | getFieldsTerminatedBy | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function setFieldsTerminatedBy($var)
{
GPBUtil::checkString($var, True);
$this->fields_terminated_by = $var;
return $this;
} | Specifies the character that separates columns within each row (line) of
the file.
Generated from protobuf field <code>string fields_terminated_by = 6;</code>
@param string $var
@return $this | setFieldsTerminatedBy | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function getLinesTerminatedBy()
{
return $this->lines_terminated_by;
} | This is used to separate lines. If a line does not contain all fields,
the rest of the columns are set to their default values.
Generated from protobuf field <code>string lines_terminated_by = 8;</code>
@return string | getLinesTerminatedBy | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function setLinesTerminatedBy($var)
{
GPBUtil::checkString($var, True);
$this->lines_terminated_by = $var;
return $this;
} | This is used to separate lines. If a line does not contain all fields,
the rest of the columns are set to their default values.
Generated from protobuf field <code>string lines_terminated_by = 8;</code>
@param string $var
@return $this | setLinesTerminatedBy | php | googleapis/google-cloud-php | SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/ImportContext/SqlCsvImportOptions.php | Apache-2.0 |
public function getCreateTime()
{
return $this->create_time;
} | Output only. The time the operation was created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getCreateTime | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setCreateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->create_time = $var;
return $this;
} | Output only. The time the operation was created.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setCreateTime | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getEndTime()
{
return $this->end_time;
} | Output only. The time the operation finished running.
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getEndTime | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setEndTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->end_time = $var;
return $this;
} | Output only. The time the operation finished running.
Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setEndTime | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getTarget()
{
return $this->target;
} | Output only. Server-defined resource path for the target of the operation.
Generated from protobuf field <code>string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getTarget | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setTarget($var)
{
GPBUtil::checkString($var, True);
$this->target = $var;
return $this;
} | Output only. Server-defined resource path for the target of the operation.
Generated from protobuf field <code>string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setTarget | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getVerb()
{
return $this->verb;
} | Output only. Name of the verb executed by the operation.
Generated from protobuf field <code>string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getVerb | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setVerb($var)
{
GPBUtil::checkString($var, True);
$this->verb = $var;
return $this;
} | Output only. Name of the verb executed by the operation.
Generated from protobuf field <code>string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setVerb | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getStatusMessage()
{
return $this->status_message;
} | Output only. Human-readable status of the operation, if any.
Generated from protobuf field <code>string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getStatusMessage | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setStatusMessage($var)
{
GPBUtil::checkString($var, True);
$this->status_message = $var;
return $this;
} | Output only. Human-readable status of the operation, if any.
Generated from protobuf field <code>string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setStatusMessage | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getRequestedCancellation()
{
return $this->requested_cancellation;
} | Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to `Code.CANCELLED`.
Generated from protobuf field <code>bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return bool | getRequestedCancellation | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setRequestedCancellation($var)
{
GPBUtil::checkBool($var);
$this->requested_cancellation = $var;
return $this;
} | Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have successfully been cancelled
have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
corresponding to `Code.CANCELLED`.
Generated from protobuf field <code>bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param bool $var
@return $this | setRequestedCancellation | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getApiVersion()
{
return $this->api_version;
} | Output only. API version used to start the operation.
Generated from protobuf field <code>string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getApiVersion | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function setApiVersion($var)
{
GPBUtil::checkString($var, True);
$this->api_version = $var;
return $this;
} | Output only. API version used to start the operation.
Generated from protobuf field <code>string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setApiVersion | php | googleapis/google-cloud-php | Ids/src/V1/OperationMetadata.php | https://github.com/googleapis/google-cloud-php/blob/master/Ids/src/V1/OperationMetadata.php | Apache-2.0 |
public function getCpeUri()
{
return $this->cpe_uri;
} | The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
applicable to.
Generated from protobuf field <code>string cpe_uri = 1;</code>
@return string | getCpeUri | php | googleapis/google-cloud-php | Grafeas/src/V1/ComplianceVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php | Apache-2.0 |
public function setCpeUri($var)
{
GPBUtil::checkString($var, True);
$this->cpe_uri = $var;
return $this;
} | The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
applicable to.
Generated from protobuf field <code>string cpe_uri = 1;</code>
@param string $var
@return $this | setCpeUri | php | googleapis/google-cloud-php | Grafeas/src/V1/ComplianceVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php | Apache-2.0 |
public function getBenchmarkDocument()
{
return $this->benchmark_document;
} | The name of the document that defines this benchmark, e.g. "CIS
Container-Optimized OS".
Generated from protobuf field <code>string benchmark_document = 3;</code>
@return string | getBenchmarkDocument | php | googleapis/google-cloud-php | Grafeas/src/V1/ComplianceVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php | Apache-2.0 |
public function setBenchmarkDocument($var)
{
GPBUtil::checkString($var, True);
$this->benchmark_document = $var;
return $this;
} | The name of the document that defines this benchmark, e.g. "CIS
Container-Optimized OS".
Generated from protobuf field <code>string benchmark_document = 3;</code>
@param string $var
@return $this | setBenchmarkDocument | php | googleapis/google-cloud-php | Grafeas/src/V1/ComplianceVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php | Apache-2.0 |
public function getVersion()
{
return $this->version;
} | The version of the benchmark. This is set to the version of the OS-specific
CIS document the benchmark is defined in.
Generated from protobuf field <code>string version = 2;</code>
@return string | getVersion | php | googleapis/google-cloud-php | Grafeas/src/V1/ComplianceVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php | Apache-2.0 |
public function setVersion($var)
{
GPBUtil::checkString($var, True);
$this->version = $var;
return $this;
} | The version of the benchmark. This is set to the version of the OS-specific
CIS document the benchmark is defined in.
Generated from protobuf field <code>string version = 2;</code>
@param string $var
@return $this | setVersion | php | googleapis/google-cloud-php | Grafeas/src/V1/ComplianceVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/Grafeas/src/V1/ComplianceVersion.php | Apache-2.0 |
public function getStatus()
{
return $this->status;
} | True if the Pipeline is in a valid state. Otherwise at least one condition
in `PipelineCondition` is in an invalid state. Iterate over those
conditions and see which condition(s) has status = false to find out what
is wrong with the Pipeline.
Generated from protobuf field <code>bool status = 3;</code>
@return bool | getStatus | php | googleapis/google-cloud-php | Deploy/src/V1/PipelineReadyCondition.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/PipelineReadyCondition.php | Apache-2.0 |
public function setStatus($var)
{
GPBUtil::checkBool($var);
$this->status = $var;
return $this;
} | True if the Pipeline is in a valid state. Otherwise at least one condition
in `PipelineCondition` is in an invalid state. Iterate over those
conditions and see which condition(s) has status = false to find out what
is wrong with the Pipeline.
Generated from protobuf field <code>bool status = 3;</code>
@param bool $var
@return $this | setStatus | php | googleapis/google-cloud-php | Deploy/src/V1/PipelineReadyCondition.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/PipelineReadyCondition.php | Apache-2.0 |
public function getUpdateTime()
{
return $this->update_time;
} | Last time the condition was updated.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4;</code>
@return \Google\Protobuf\Timestamp|null | getUpdateTime | php | googleapis/google-cloud-php | Deploy/src/V1/PipelineReadyCondition.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/PipelineReadyCondition.php | Apache-2.0 |
public function setUpdateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->update_time = $var;
return $this;
} | Last time the condition was updated.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 4;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setUpdateTime | php | googleapis/google-cloud-php | Deploy/src/V1/PipelineReadyCondition.php | https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/PipelineReadyCondition.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Output only. The name of the `LocalInventory` resource.
Format:
`accounts/{account}/products/{product}/localInventories/{store_code}`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getName | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Output only. The name of the `LocalInventory` resource.
Format:
`accounts/{account}/products/{product}/localInventories/{store_code}`
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getAccount()
{
return $this->account;
} | Output only. The account that owns the product. This field will be ignored
if set by the client.
Generated from protobuf field <code>int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int|string | getAccount | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setAccount($var)
{
GPBUtil::checkInt64($var);
$this->account = $var;
return $this;
} | Output only. The account that owns the product. This field will be ignored
if set by the client.
Generated from protobuf field <code>int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int|string $var
@return $this | setAccount | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getStoreCode()
{
return $this->store_code;
} | Required. Immutable. Store code (the store ID from your Business Profile)
of the physical store the product is sold in. See the [Local product
inventory data
specification](https://support.google.com/merchants/answer/3061342) for
more information.
Generated from protobuf field <code>string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@return string | getStoreCode | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setStoreCode($var)
{
GPBUtil::checkString($var, True);
$this->store_code = $var;
return $this;
} | Required. Immutable. Store code (the store ID from your Business Profile)
of the physical store the product is sold in. See the [Local product
inventory data
specification](https://support.google.com/merchants/answer/3061342) for
more information.
Generated from protobuf field <code>string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];</code>
@param string $var
@return $this | setStoreCode | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getPrice()
{
return $this->price;
} | Price of the product at this store.
Generated from protobuf field <code>.google.shopping.type.Price price = 4;</code>
@return \Google\Shopping\Type\Price|null | getPrice | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setPrice($var)
{
GPBUtil::checkMessage($var, \Google\Shopping\Type\Price::class);
$this->price = $var;
return $this;
} | Price of the product at this store.
Generated from protobuf field <code>.google.shopping.type.Price price = 4;</code>
@param \Google\Shopping\Type\Price $var
@return $this | setPrice | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getSalePrice()
{
return $this->sale_price;
} | Sale price of the product at this store. Mandatory if
[`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
is defined.
Generated from protobuf field <code>.google.shopping.type.Price sale_price = 5;</code>
@return \Google\Shopping\Type\Price|null | getSalePrice | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setSalePrice($var)
{
GPBUtil::checkMessage($var, \Google\Shopping\Type\Price::class);
$this->sale_price = $var;
return $this;
} | Sale price of the product at this store. Mandatory if
[`salePriceEffectiveDate`][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date]
is defined.
Generated from protobuf field <code>.google.shopping.type.Price sale_price = 5;</code>
@param \Google\Shopping\Type\Price $var
@return $this | setSalePrice | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getSalePriceEffectiveDate()
{
return $this->sale_price_effective_date;
} | The `TimePeriod` of the
sale at this store.
Generated from protobuf field <code>.google.type.Interval sale_price_effective_date = 6;</code>
@return \Google\Type\Interval|null | getSalePriceEffectiveDate | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setSalePriceEffectiveDate($var)
{
GPBUtil::checkMessage($var, \Google\Type\Interval::class);
$this->sale_price_effective_date = $var;
return $this;
} | The `TimePeriod` of the
sale at this store.
Generated from protobuf field <code>.google.type.Interval sale_price_effective_date = 6;</code>
@param \Google\Type\Interval $var
@return $this | setSalePriceEffectiveDate | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getAvailability()
{
return isset($this->availability) ? $this->availability : '';
} | Availability of the product at this store.
For accepted attribute values, see the [local product inventory data
specification](https://support.google.com/merchants/answer/3061342)
Generated from protobuf field <code>optional string availability = 7;</code>
@return string | getAvailability | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setAvailability($var)
{
GPBUtil::checkString($var, True);
$this->availability = $var;
return $this;
} | Availability of the product at this store.
For accepted attribute values, see the [local product inventory data
specification](https://support.google.com/merchants/answer/3061342)
Generated from protobuf field <code>optional string availability = 7;</code>
@param string $var
@return $this | setAvailability | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getQuantity()
{
return isset($this->quantity) ? $this->quantity : 0;
} | Quantity of the product available at this store. Must be greater than or
equal to zero.
Generated from protobuf field <code>optional int64 quantity = 8;</code>
@return int|string | getQuantity | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setQuantity($var)
{
GPBUtil::checkInt64($var);
$this->quantity = $var;
return $this;
} | Quantity of the product available at this store. Must be greater than or
equal to zero.
Generated from protobuf field <code>optional int64 quantity = 8;</code>
@param int|string $var
@return $this | setQuantity | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getPickupMethod()
{
return isset($this->pickup_method) ? $this->pickup_method : '';
} | Supported pickup method for this product. Unless the value is `"not
supported"`, this field must be submitted together with
`pickupSla`.
For accepted attribute values, see the [local product inventory data
specification](https://support.google.com/merchants/answer/3061342)
Generated from protobuf field <code>optional string pickup_method = 9;</code>
@return string | getPickupMethod | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setPickupMethod($var)
{
GPBUtil::checkString($var, True);
$this->pickup_method = $var;
return $this;
} | Supported pickup method for this product. Unless the value is `"not
supported"`, this field must be submitted together with
`pickupSla`.
For accepted attribute values, see the [local product inventory data
specification](https://support.google.com/merchants/answer/3061342)
Generated from protobuf field <code>optional string pickup_method = 9;</code>
@param string $var
@return $this | setPickupMethod | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getPickupSla()
{
return isset($this->pickup_sla) ? $this->pickup_sla : '';
} | Relative time period from the order date for an order for this product,
from this store, to be ready for pickup. Must be submitted with
`pickupMethod`.
For accepted attribute values, see the [local product inventory data
specification](https://support.google.com/merchants/answer/3061342)
Generated from protobuf field <code>optional string pickup_sla = 10;</code>
@return string | getPickupSla | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setPickupSla($var)
{
GPBUtil::checkString($var, True);
$this->pickup_sla = $var;
return $this;
} | Relative time period from the order date for an order for this product,
from this store, to be ready for pickup. Must be submitted with
`pickupMethod`.
For accepted attribute values, see the [local product inventory data
specification](https://support.google.com/merchants/answer/3061342)
Generated from protobuf field <code>optional string pickup_sla = 10;</code>
@param string $var
@return $this | setPickupSla | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getInstoreProductLocation()
{
return isset($this->instore_product_location) ? $this->instore_product_location : '';
} | Location of the product inside the store. Maximum length is 20 bytes.
Generated from protobuf field <code>optional string instore_product_location = 11;</code>
@return string | getInstoreProductLocation | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setInstoreProductLocation($var)
{
GPBUtil::checkString($var, True);
$this->instore_product_location = $var;
return $this;
} | Location of the product inside the store. Maximum length is 20 bytes.
Generated from protobuf field <code>optional string instore_product_location = 11;</code>
@param string $var
@return $this | setInstoreProductLocation | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getCustomAttributes()
{
return $this->custom_attributes;
} | A list of custom (merchant-provided) attributes. You can also use
`CustomAttribute` to submit any attribute of the data specification in its
generic form.
Generated from protobuf field <code>repeated .google.shopping.type.CustomAttribute custom_attributes = 12;</code>
@return \Google\Protobuf\Internal\RepeatedField | getCustomAttributes | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function setCustomAttributes($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Shopping\Type\CustomAttribute::class);
$this->custom_attributes = $arr;
return $this;
} | A list of custom (merchant-provided) attributes. You can also use
`CustomAttribute` to submit any attribute of the data specification in its
generic form.
Generated from protobuf field <code>repeated .google.shopping.type.CustomAttribute custom_attributes = 12;</code>
@param array<\Google\Shopping\Type\CustomAttribute>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setCustomAttributes | php | googleapis/google-cloud-php | ShoppingMerchantInventories/src/V1beta/LocalInventory.php | https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantInventories/src/V1beta/LocalInventory.php | Apache-2.0 |
public function getInstance()
{
return $this->instance;
} | Name of the instance scoping this request.
Generated from protobuf field <code>string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getInstance | php | googleapis/google-cloud-php | Compute/src/V1/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php | Apache-2.0 |
public function setInstance($var)
{
GPBUtil::checkString($var, True);
$this->instance = $var;
return $this;
} | Name of the instance scoping this request.
Generated from protobuf field <code>string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setInstance | php | googleapis/google-cloud-php | Compute/src/V1/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php | Apache-2.0 |
public function getMetadataResource()
{
return $this->metadata_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.Metadata metadata_resource = 291086110 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\Metadata|null | getMetadataResource | php | googleapis/google-cloud-php | Compute/src/V1/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php | Apache-2.0 |
public function setMetadataResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Metadata::class);
$this->metadata_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.Metadata metadata_resource = 291086110 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\Metadata $var
@return $this | setMetadataResource | php | googleapis/google-cloud-php | Compute/src/V1/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.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/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.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/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.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/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.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/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php | Apache-2.0 |
public function getZone()
{
return $this->zone;
} | The name of the zone for this request.
Generated from protobuf field <code>string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];</code>
@return string | getZone | php | googleapis/google-cloud-php | Compute/src/V1/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.