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 getItems()
{
return $this->items;
} | A list of HealthChecksScopedList resources.
Generated from protobuf field <code>map<string, .google.cloud.compute.v1.HealthChecksScopedList> items = 100526016;</code>
@return \Google\Protobuf\Internal\MapField | getItems | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function setItems($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\HealthChecksScopedList::class);
$this->items = $arr;
return $this;
} | A list of HealthChecksScopedList resources.
Generated from protobuf field <code>map<string, .google.cloud.compute.v1.HealthChecksScopedList> items = 100526016;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setItems | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function getKind()
{
return isset($this->kind) ? $this->kind : '';
} | Type of resource.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@return string | getKind | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkString($var, True);
$this->kind = $var;
return $this;
} | Type of resource.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@param string $var
@return $this | setKind | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function getNextPageToken()
{
return isset($this->next_page_token) ? $this->next_page_token : '';
} | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function getSelfLink()
{
return isset($this->self_link) ? $this->self_link : '';
} | [Output Only] Server-defined URL for this resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@return string | getSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function setSelfLink($var)
{
GPBUtil::checkString($var, True);
$this->self_link = $var;
return $this;
} | [Output Only] Server-defined URL for this resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@param string $var
@return $this | setSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function getUnreachables()
{
return $this->unreachables;
} | [Output Only] Unreachable resources.
Generated from protobuf field <code>repeated string unreachables = 243372063;</code>
@return \Google\Protobuf\Internal\RepeatedField | getUnreachables | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function setUnreachables($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->unreachables = $arr;
return $this;
} | [Output Only] Unreachable resources.
Generated from protobuf field <code>repeated string unreachables = 243372063;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setUnreachables | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function getWarning()
{
return $this->warning;
} | [Output Only] Informational warning message.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code>
@return \Google\Cloud\Compute\V1\Warning|null | getWarning | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function setWarning($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Warning::class);
$this->warning = $var;
return $this;
} | [Output Only] Informational warning message.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code>
@param \Google\Cloud\Compute\V1\Warning $var
@return $this | setWarning | php | googleapis/google-cloud-php | Compute/src/V1/HealthChecksAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/HealthChecksAggregatedList.php | Apache-2.0 |
public function getExpectedStructure()
{
return $this->expected_structure;
} | The issue type of InvalidDataPartition.
Generated from protobuf field <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;</code>
@return int | getExpectedStructure | php | googleapis/google-cloud-php | Dataplex/src/V1/Action/InvalidDataPartition.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Action/InvalidDataPartition.php | Apache-2.0 |
public function setExpectedStructure($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dataplex\V1\Action\InvalidDataPartition\PartitionStructure::class);
$this->expected_structure = $var;
return $this;
} | The issue type of InvalidDataPartition.
Generated from protobuf field <code>.google.cloud.dataplex.v1.Action.InvalidDataPartition.PartitionStructure expected_structure = 1;</code>
@param int $var
@return $this | setExpectedStructure | php | googleapis/google-cloud-php | Dataplex/src/V1/Action/InvalidDataPartition.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/Action/InvalidDataPartition.php | Apache-2.0 |
public function __construct(
RequestHandler $requestHandler,
Serializer $serializer,
$projectId,
$name,
$topicName,
$encode,
array $info = []
) {
$this->requestHandler = $requestHandler;
$this->serializer = $serializer;
$this->projectId = $projectId;
$this->encode = (bool) $encode;
$this->info = $info;
// Accept either a simple name or a fully-qualified name.
if ($this->isFullyQualifiedName('subscription', $name)) {
$this->name = $name;
} else {
$this->name = $this->formatName('subscription', $name, $projectId);
}
// Accept either a simple name or a fully-qualified name.
if ($this->isFullyQualifiedName('topic', $topicName)) {
$this->topicName = $topicName;
} else {
$this->topicName = !is_null($topicName)
? $this->formatName('topic', $topicName, $projectId)
: null;
}
} | Create a Subscription.
The idiomatic way to use this class is through the PubSubClient or Topic,
but you can instantiate it directly as well.
@param RequestHandler The request handler that is responsible for sending a request
and serializing responses into relevant classes.
@param Serializer $serializer The serializer instance to encode/decode messages.
@param string $projectId The current project
@param string $name The subscription name
@param string $topicName The topic name the subscription is attached to
@param bool $encode Whether messages are encrypted or not.
@param array $info [optional] Subscription info. Used to pre-populate the object. | __construct | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
private function acknowledgeBatchWithRetries(array $messages, array $options = [])
{
$actionFunc = function (&$messages, $options) {
$this->sendAckRequest($messages, $options);
};
return $this->retryEodAction($actionFunc, $messages, $options);
} | Helper that sends an acknowledge request but with retries.
@param Message[] $messages An array of messages
@param array $options Configuration Options
@return array|void Array of messages which failed permanently | acknowledgeBatchWithRetries | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
private function formatSubscriptionDurations(array $data)
{
if (isset($data['messageRetentionDuration'])) {
if ($data['messageRetentionDuration'] instanceof Duration) {
$duration = $data['messageRetentionDuration']->get();
$data['messageRetentionDuration'] = sprintf(
'%s.%ss',
$duration['seconds'],
$this->convertNanoSecondsToFraction($duration['nanos'], false)
);
}
$data['messageRetentionDuration'] = new ProtobufDuration(
$this->formatDurationForApi($data['messageRetentionDuration'])
);
}
if (isset($data['retryPolicy'])) {
if (isset($data['expirationPolicy']['ttl']) && $data['expirationPolicy']['ttl'] instanceof Duration) {
$duration = $data['expirationPolicy']['ttl']->get();
$data['expirationPolicy']['ttl'] = sprintf(
'%s.%ss',
$duration['seconds'],
$this->convertNanoSecondsToFraction($duration['nanos'], false)
);
}
if (isset($data['retryPolicy']['minimumBackoff']) &&
$data['retryPolicy']['minimumBackoff'] instanceof Duration
) {
$duration = $data['retryPolicy']['minimumBackoff']->get();
$data['retryPolicy']['minimumBackoff'] = sprintf(
'%s.%ss',
$duration['seconds'],
$this->convertNanoSecondsToFraction($duration['nanos'], false)
);
}
if (isset($data['retryPolicy']['maximumBackoff']) &&
$data['retryPolicy']['maximumBackoff'] instanceof Duration
) {
$duration = $data['retryPolicy']['maximumBackoff']->get();
$data['retryPolicy']['maximumBackoff'] = sprintf(
'%s.%ss',
$duration['seconds'],
$this->convertNanoSecondsToFraction($duration['nanos'], false)
);
}
}
if (isset($data['cloudStorageConfig']['maxDuration']) &&
$data['cloudStorageConfig']['maxDuration'] instanceof Duration
) {
$duration = $data['cloudStorageConfig']['maxDuration']->get();
$data['cloudStorageConfig']['maxDuration'] = sprintf(
'%s.%ss',
$duration['seconds'],
$this->convertNanoSecondsToFraction($duration['nanos'], false)
);
}
return $data;
} | Format Duration objects for the API.
@param array $data
@return array | formatSubscriptionDurations | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
private function formatDeadLetterPolicyForApi(array $data)
{
if (isset($data['deadLetterPolicy'])) {
if ($data['deadLetterPolicy']['deadLetterTopic'] instanceof Topic) {
$topic = $data['deadLetterPolicy']['deadLetterTopic'];
$data['deadLetterPolicy']['deadLetterTopic'] = $topic->name();
}
}
return $data;
} | Format dead letter topic subscription data for API.
@param array $data
@return array | formatDeadLetterPolicyForApi | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
private function isExceptionExactlyOnce(\Exception $e)
{
if (!$e instanceof ApiException && !$e instanceof BadRequestException) {
return false;
}
$reason = $e->getReason();
return $reason === self::$exactlyOnceDeliveryFailureReason;
} | Checks if a given exception failure is because of
an EOD failure.
@param \Exception $e
@return boolean | isExceptionExactlyOnce | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
public function __debugInfo()
{
return [
'name' => $this->name,
'topicName' => $this->topicName,
'projectId' => $this->projectId,
'info' => $this->info,
'requestHandler' => $this->requestHandler
];
} | Present a nicer debug result to people using php 5.6 or greater.
@return array
@codeCoverageIgnore
@access private | __debugInfo | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
private function getRetryableAckIds(\Exception $e)
{
$ackIds = [];
// EOD enabled subscription
if ($this->isExceptionExactlyOnce($e)) {
$metadata = $e->getErrorInfoMetadata();
foreach ($metadata as $ackId => $failureReason) {
// check if the prefix of the failure reason is same as
// the transient failure for EOD enabled subscriptions
if (strpos($failureReason, self::$exactlyOnceDeliveryTransientFailurePrefix) === 0) {
$ackIds[] = $ackId;
}
}
}
return $ackIds;
} | Returns the temporarily failed ackIds from the exception object
@param \Exception
@return array | getRetryableAckIds | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
public static function setMaxEodRetryTime($maxTime)
{
self::$exactlyOnceDeliveryMaxRetryTime = $maxTime;
} | Func to change the maximum delay time for an `Exactly Once Delivery` enabled subscription's
retry attempt.
@internal | setMaxEodRetryTime | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
public static function getMaxRetries()
{
return self::$exactlyOnceDeliveryMaxRetries;
} | Getter for the private static variable
@return int | getMaxRetries | php | googleapis/google-cloud-php | PubSub/src/Subscription.php | https://github.com/googleapis/google-cloud-php/blob/master/PubSub/src/Subscription.php | Apache-2.0 |
public function getHostname()
{
return $this->hostname;
} | Required. Hostname for the Oracle connection.
Generated from protobuf field <code>string hostname = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getHostname | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setHostname($var)
{
GPBUtil::checkString($var, True);
$this->hostname = $var;
return $this;
} | Required. Hostname for the Oracle connection.
Generated from protobuf field <code>string hostname = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setHostname | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getPort()
{
return $this->port;
} | Port for the Oracle connection, default value is 1521.
Generated from protobuf field <code>int32 port = 2;</code>
@return int | getPort | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setPort($var)
{
GPBUtil::checkInt32($var);
$this->port = $var;
return $this;
} | Port for the Oracle connection, default value is 1521.
Generated from protobuf field <code>int32 port = 2;</code>
@param int $var
@return $this | setPort | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getUsername()
{
return $this->username;
} | Required. Username for the Oracle connection.
Generated from protobuf field <code>string username = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getUsername | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setUsername($var)
{
GPBUtil::checkString($var, True);
$this->username = $var;
return $this;
} | Required. Username for the Oracle connection.
Generated from protobuf field <code>string username = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setUsername | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getPassword()
{
return $this->password;
} | Optional. Password for the Oracle connection. Mutually exclusive with the
`secret_manager_stored_password` field.
Generated from protobuf field <code>string password = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPassword | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setPassword($var)
{
GPBUtil::checkString($var, True);
$this->password = $var;
return $this;
} | Optional. Password for the Oracle connection. Mutually exclusive with the
`secret_manager_stored_password` field.
Generated from protobuf field <code>string password = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPassword | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getDatabaseService()
{
return $this->database_service;
} | Required. Database for the Oracle connection.
Generated from protobuf field <code>string database_service = 5 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getDatabaseService | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setDatabaseService($var)
{
GPBUtil::checkString($var, True);
$this->database_service = $var;
return $this;
} | Required. Database for the Oracle connection.
Generated from protobuf field <code>string database_service = 5 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setDatabaseService | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getConnectionAttributes()
{
return $this->connection_attributes;
} | Connection string attributes
Generated from protobuf field <code>map<string, string> connection_attributes = 6;</code>
@return \Google\Protobuf\Internal\MapField | getConnectionAttributes | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setConnectionAttributes($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->connection_attributes = $arr;
return $this;
} | Connection string attributes
Generated from protobuf field <code>map<string, string> connection_attributes = 6;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setConnectionAttributes | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getOracleSslConfig()
{
return $this->oracle_ssl_config;
} | Optional. SSL configuration for the Oracle connection.
Generated from protobuf field <code>.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Datastream\V1\OracleSslConfig|null | getOracleSslConfig | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setOracleSslConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Datastream\V1\OracleSslConfig::class);
$this->oracle_ssl_config = $var;
return $this;
} | Optional. SSL configuration for the Oracle connection.
Generated from protobuf field <code>.google.cloud.datastream.v1.OracleSslConfig oracle_ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Datastream\V1\OracleSslConfig $var
@return $this | setOracleSslConfig | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getOracleAsmConfig()
{
return $this->oracle_asm_config;
} | Optional. Configuration for Oracle ASM connection.
Generated from protobuf field <code>.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Datastream\V1\OracleAsmConfig|null | getOracleAsmConfig | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setOracleAsmConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Datastream\V1\OracleAsmConfig::class);
$this->oracle_asm_config = $var;
return $this;
} | Optional. Configuration for Oracle ASM connection.
Generated from protobuf field <code>.google.cloud.datastream.v1.OracleAsmConfig oracle_asm_config = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Datastream\V1\OracleAsmConfig $var
@return $this | setOracleAsmConfig | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function getSecretManagerStoredPassword()
{
return $this->secret_manager_stored_password;
} | Optional. A reference to a Secret Manager resource name storing the Oracle
connection password. Mutually exclusive with the `password` field.
Generated from protobuf field <code>string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getSecretManagerStoredPassword | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.php | Apache-2.0 |
public function setSecretManagerStoredPassword($var)
{
GPBUtil::checkString($var, True);
$this->secret_manager_stored_password = $var;
return $this;
} | Optional. A reference to a Secret Manager resource name storing the Oracle
connection password. Mutually exclusive with the `password` field.
Generated from protobuf field <code>string secret_manager_stored_password = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setSecretManagerStoredPassword | php | googleapis/google-cloud-php | Datastream/src/V1/OracleProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/OracleProfile.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/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.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/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function getRegion()
{
return $this->region;
} | Name of the region scoping this request.
Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];</code>
@return string | getRegion | php | googleapis/google-cloud-php | Compute/src/V1/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | Name of the region scoping this request.
Generated from protobuf field <code>string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"];</code>
@param string $var
@return $this | setRegion | php | googleapis/google-cloud-php | Compute/src/V1/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function getRequestId()
{
return isset($this->request_id) ? $this->request_id : '';
} | begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Compute/src/V1/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
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/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function getUrlMap()
{
return $this->url_map;
} | Name of the UrlMap resource to delete.
Generated from protobuf field <code>string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getUrlMap | php | googleapis/google-cloud-php | Compute/src/V1/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function setUrlMap($var)
{
GPBUtil::checkString($var, True);
$this->url_map = $var;
return $this;
} | Name of the UrlMap resource to delete.
Generated from protobuf field <code>string url_map = 367020684 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setUrlMap | php | googleapis/google-cloud-php | Compute/src/V1/DeleteRegionUrlMapRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/DeleteRegionUrlMapRequest.php | Apache-2.0 |
public function getId()
{
return isset($this->id) ? $this->id : '';
} | [Output Only] Unique identifier for the resource; defined by the server.
Generated from protobuf field <code>optional string id = 3355;</code>
@return string | getId | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | [Output Only] Unique identifier for the resource; defined by the server.
Generated from protobuf field <code>optional string id = 3355;</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getItems()
{
return $this->items;
} | A list of PublicDelegatedPrefixesScopedList resources.
Generated from protobuf field <code>map<string, .google.cloud.compute.v1.PublicDelegatedPrefixesScopedList> items = 100526016;</code>
@return \Google\Protobuf\Internal\MapField | getItems | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setItems($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\PublicDelegatedPrefixesScopedList::class);
$this->items = $arr;
return $this;
} | A list of PublicDelegatedPrefixesScopedList resources.
Generated from protobuf field <code>map<string, .google.cloud.compute.v1.PublicDelegatedPrefixesScopedList> items = 100526016;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setItems | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getKind()
{
return isset($this->kind) ? $this->kind : '';
} | [Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@return string | getKind | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkString($var, True);
$this->kind = $var;
return $this;
} | [Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@param string $var
@return $this | setKind | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getNextPageToken()
{
return isset($this->next_page_token) ? $this->next_page_token : '';
} | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setNextPageToken($var)
{
GPBUtil::checkString($var, True);
$this->next_page_token = $var;
return $this;
} | [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@param string $var
@return $this | setNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getSelfLink()
{
return isset($this->self_link) ? $this->self_link : '';
} | [Output Only] Server-defined URL for this resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@return string | getSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setSelfLink($var)
{
GPBUtil::checkString($var, True);
$this->self_link = $var;
return $this;
} | [Output Only] Server-defined URL for this resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@param string $var
@return $this | setSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getUnreachables()
{
return $this->unreachables;
} | [Output Only] Unreachable resources.
Generated from protobuf field <code>repeated string unreachables = 243372063;</code>
@return \Google\Protobuf\Internal\RepeatedField | getUnreachables | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setUnreachables($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->unreachables = $arr;
return $this;
} | [Output Only] Unreachable resources.
Generated from protobuf field <code>repeated string unreachables = 243372063;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setUnreachables | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getWarning()
{
return $this->warning;
} | [Output Only] Informational warning message.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code>
@return \Google\Cloud\Compute\V1\Warning|null | getWarning | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function setWarning($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Warning::class);
$this->warning = $var;
return $this;
} | [Output Only] Informational warning message.
Generated from protobuf field <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code>
@param \Google\Cloud\Compute\V1\Warning $var
@return $this | setWarning | php | googleapis/google-cloud-php | Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/PublicDelegatedPrefixAggregatedList.php | Apache-2.0 |
public function getFile()
{
return $this->file;
} | Required. The File that replaces the resource on the server.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.File file = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\ArtifactRegistry\V1\File|null | getFile | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/UpdateFileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateFileRequest.php | Apache-2.0 |
public function setFile($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\File::class);
$this->file = $var;
return $this;
} | Required. The File that replaces the resource on the server.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.File file = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\ArtifactRegistry\V1\File $var
@return $this | setFile | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/UpdateFileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateFileRequest.php | Apache-2.0 |
public function getUpdateMask()
{
return $this->update_mask;
} | Required. The update mask applies to the resource. For the `FieldMask`
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\FieldMask|null | getUpdateMask | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/UpdateFileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateFileRequest.php | Apache-2.0 |
public function setUpdateMask($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
$this->update_mask = $var;
return $this;
} | Required. The update mask applies to the resource. For the `FieldMask`
definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Protobuf\FieldMask $var
@return $this | setUpdateMask | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/UpdateFileRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateFileRequest.php | Apache-2.0 |
public function getBucket()
{
return $this->bucket;
} | Required. Bucket of the Cloud Storage object.
Generated from protobuf field <code>string bucket = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getBucket | php | googleapis/google-cloud-php | OsConfig/src/V1/GcsObject.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/GcsObject.php | Apache-2.0 |
public function setBucket($var)
{
GPBUtil::checkString($var, True);
$this->bucket = $var;
return $this;
} | Required. Bucket of the Cloud Storage object.
Generated from protobuf field <code>string bucket = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setBucket | php | googleapis/google-cloud-php | OsConfig/src/V1/GcsObject.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/GcsObject.php | Apache-2.0 |
public function getObject()
{
return $this->object;
} | Required. Name of the Cloud Storage object.
Generated from protobuf field <code>string object = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getObject | php | googleapis/google-cloud-php | OsConfig/src/V1/GcsObject.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/GcsObject.php | Apache-2.0 |
public function setObject($var)
{
GPBUtil::checkString($var, True);
$this->object = $var;
return $this;
} | Required. Name of the Cloud Storage object.
Generated from protobuf field <code>string object = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setObject | php | googleapis/google-cloud-php | OsConfig/src/V1/GcsObject.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/GcsObject.php | Apache-2.0 |
public function getGenerationNumber()
{
return $this->generation_number;
} | Required. Generation number of the Cloud Storage object. This is used to
ensure that the ExecStep specified by this PatchJob does not change.
Generated from protobuf field <code>int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return int|string | getGenerationNumber | php | googleapis/google-cloud-php | OsConfig/src/V1/GcsObject.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/GcsObject.php | Apache-2.0 |
public function setGenerationNumber($var)
{
GPBUtil::checkInt64($var);
$this->generation_number = $var;
return $this;
} | Required. Generation number of the Cloud Storage object. This is used to
ensure that the ExecStep specified by this PatchJob does not change.
Generated from protobuf field <code>int64 generation_number = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param int|string $var
@return $this | setGenerationNumber | php | googleapis/google-cloud-php | OsConfig/src/V1/GcsObject.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/GcsObject.php | Apache-2.0 |
public function getProjectId()
{
return $this->project_id;
} | A project ID or number. If specified, then export will attempt to
write data to this project instead of the resource project. Otherwise,
the resource project will be used.
Generated from protobuf field <code>string project_id = 3;</code>
@return string | getProjectId | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | Apache-2.0 |
public function setProjectId($var)
{
GPBUtil::checkString($var, True);
$this->project_id = $var;
return $this;
} | A project ID or number. If specified, then export will attempt to
write data to this project instead of the resource project. Otherwise,
the resource project will be used.
Generated from protobuf field <code>string project_id = 3;</code>
@param string $var
@return $this | setProjectId | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | Apache-2.0 |
public function getDataset()
{
return $this->dataset;
} | Required. The name of the BigQuery dataset that the snapshot result
should be exported to. If this dataset does not exist, the export call
returns an INVALID_ARGUMENT error.
Generated from protobuf field <code>string dataset = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getDataset | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | Apache-2.0 |
public function setDataset($var)
{
GPBUtil::checkString($var, True);
$this->dataset = $var;
return $this;
} | Required. The name of the BigQuery dataset that the snapshot result
should be exported to. If this dataset does not exist, the export call
returns an INVALID_ARGUMENT error.
Generated from protobuf field <code>string dataset = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setDataset | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | Apache-2.0 |
public function getTable()
{
return $this->table;
} | The BigQuery table name to which the insights data should be written.
If this table does not exist, the export call returns an INVALID_ARGUMENT
error.
Generated from protobuf field <code>string table = 2;</code>
@return string | getTable | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | Apache-2.0 |
public function setTable($var)
{
GPBUtil::checkString($var, True);
$this->table = $var;
return $this;
} | The BigQuery table name to which the insights data should be written.
If this table does not exist, the export call returns an INVALID_ARGUMENT
error.
Generated from protobuf field <code>string table = 2;</code>
@param string $var
@return $this | setTable | php | googleapis/google-cloud-php | ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/ExportInsightsDataRequest/BigQueryDestination.php | Apache-2.0 |
public function getGcsSource()
{
return $this->readOneof(1);
} | Google Cloud Storage location where input content is located.
Generated from protobuf field <code>.google.cloud.redis.v1.GcsSource gcs_source = 1;</code>
@return \Google\Cloud\Redis\V1\GcsSource|null | getGcsSource | php | googleapis/google-cloud-php | Redis/src/V1/InputConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Redis/src/V1/InputConfig.php | Apache-2.0 |
public function setGcsSource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Redis\V1\GcsSource::class);
$this->writeOneof(1, $var);
return $this;
} | Google Cloud Storage location where input content is located.
Generated from protobuf field <code>.google.cloud.redis.v1.GcsSource gcs_source = 1;</code>
@param \Google\Cloud\Redis\V1\GcsSource $var
@return $this | setGcsSource | php | googleapis/google-cloud-php | Redis/src/V1/InputConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Redis/src/V1/InputConfig.php | Apache-2.0 |
public function getProjectId()
{
return $this->project_id;
} | The project which owns the job to be snapshotted.
Generated from protobuf field <code>string project_id = 1;</code>
@return string | getProjectId | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function setProjectId($var)
{
GPBUtil::checkString($var, True);
$this->project_id = $var;
return $this;
} | The project which owns the job to be snapshotted.
Generated from protobuf field <code>string project_id = 1;</code>
@param string $var
@return $this | setProjectId | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function getJobId()
{
return $this->job_id;
} | The job to be snapshotted.
Generated from protobuf field <code>string job_id = 2;</code>
@return string | getJobId | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function setJobId($var)
{
GPBUtil::checkString($var, True);
$this->job_id = $var;
return $this;
} | The job to be snapshotted.
Generated from protobuf field <code>string job_id = 2;</code>
@param string $var
@return $this | setJobId | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function getTtl()
{
return $this->ttl;
} | TTL for the snapshot.
Generated from protobuf field <code>.google.protobuf.Duration ttl = 3;</code>
@return \Google\Protobuf\Duration|null | getTtl | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function setTtl($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
$this->ttl = $var;
return $this;
} | TTL for the snapshot.
Generated from protobuf field <code>.google.protobuf.Duration ttl = 3;</code>
@param \Google\Protobuf\Duration $var
@return $this | setTtl | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function getLocation()
{
return $this->location;
} | The location that contains this job.
Generated from protobuf field <code>string location = 4;</code>
@return string | getLocation | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function setLocation($var)
{
GPBUtil::checkString($var, True);
$this->location = $var;
return $this;
} | The location that contains this job.
Generated from protobuf field <code>string location = 4;</code>
@param string $var
@return $this | setLocation | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function getSnapshotSources()
{
return $this->snapshot_sources;
} | If true, perform snapshots for sources which support this.
Generated from protobuf field <code>bool snapshot_sources = 5;</code>
@return bool | getSnapshotSources | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function setSnapshotSources($var)
{
GPBUtil::checkBool($var);
$this->snapshot_sources = $var;
return $this;
} | If true, perform snapshots for sources which support this.
Generated from protobuf field <code>bool snapshot_sources = 5;</code>
@param bool $var
@return $this | setSnapshotSources | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function getDescription()
{
return $this->description;
} | User specified description of the snapshot. Maybe empty.
Generated from protobuf field <code>string description = 6;</code>
@return string | getDescription | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | User specified description of the snapshot. Maybe empty.
Generated from protobuf field <code>string description = 6;</code>
@param string $var
@return $this | setDescription | php | googleapis/google-cloud-php | Dataflow/src/V1beta3/SnapshotJobRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Dataflow/src/V1beta3/SnapshotJobRequest.php | Apache-2.0 |
public function getId()
{
return isset($this->id) ? $this->id : '';
} | [Output Only] Unique identifier for the resource; defined by the server.
Generated from protobuf field <code>optional string id = 3355;</code>
@return string | getId | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | [Output Only] Unique identifier for the resource; defined by the server.
Generated from protobuf field <code>optional string id = 3355;</code>
@param string $var
@return $this | setId | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
public function getItems()
{
return $this->items;
} | A list of InterconnectRemoteLocation resources.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.InterconnectRemoteLocation items = 100526016;</code>
@return \Google\Protobuf\Internal\RepeatedField | getItems | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
public function setItems($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\InterconnectRemoteLocation::class);
$this->items = $arr;
return $this;
} | A list of InterconnectRemoteLocation resources.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.InterconnectRemoteLocation items = 100526016;</code>
@param array<\Google\Cloud\Compute\V1\InterconnectRemoteLocation>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setItems | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
public function getKind()
{
return isset($this->kind) ? $this->kind : '';
} | [Output Only] Type of resource. Always compute#interconnectRemoteLocationList for lists of interconnect remote locations.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@return string | getKind | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkString($var, True);
$this->kind = $var;
return $this;
} | [Output Only] Type of resource. Always compute#interconnectRemoteLocationList for lists of interconnect remote locations.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@param string $var
@return $this | setKind | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
public function getNextPageToken()
{
return isset($this->next_page_token) ? $this->next_page_token : '';
} | [Output Only] This token lets you get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
Generated from protobuf field <code>optional string next_page_token = 79797525;</code>
@return string | getNextPageToken | php | googleapis/google-cloud-php | Compute/src/V1/InterconnectRemoteLocationList.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/InterconnectRemoteLocationList.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.