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 setAudioEncoding($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\AudioEncoding::class);
$this->audio_encoding = $var;
return $this;
} | Required. Audio encoding of the audio content to process.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setAudioEncoding | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getSampleRateHertz()
{
return $this->sample_rate_hertz;
} | Required. Sample rate (in Hertz) of the audio content sent in the query.
Refer to [Cloud Speech API
documentation](https://cloud.google.com/speech-to-text/docs/basics) for
more details.
Generated from protobuf field <code>int32 sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return int | getSampleRateHertz | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setSampleRateHertz($var)
{
GPBUtil::checkInt32($var);
$this->sample_rate_hertz = $var;
return $this;
} | Required. Sample rate (in Hertz) of the audio content sent in the query.
Refer to [Cloud Speech API
documentation](https://cloud.google.com/speech-to-text/docs/basics) for
more details.
Generated from protobuf field <code>int32 sample_rate_hertz = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param int $var
@return $this | setSampleRateHertz | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getLanguageCode()
{
return $this->language_code;
} | Required. The language of the supplied audio. Dialogflow does not do
translations. See [Language
Support](https://cloud.google.com/dialogflow/docs/reference/language)
for a list of the currently supported language codes. Note that queries in
the same session do not necessarily need to specify the same language.
Generated from protobuf field <code>string language_code = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getLanguageCode | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setLanguageCode($var)
{
GPBUtil::checkString($var, True);
$this->language_code = $var;
return $this;
} | Required. The language of the supplied audio. Dialogflow does not do
translations. See [Language
Support](https://cloud.google.com/dialogflow/docs/reference/language)
for a list of the currently supported language codes. Note that queries in
the same session do not necessarily need to specify the same language.
Generated from protobuf field <code>string language_code = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setLanguageCode | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getEnableWordInfo()
{
return $this->enable_word_info;
} | If `true`, Dialogflow returns
[SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
[StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult]
with information about the recognized speech words, e.g. start and end time
offsets. If false or unspecified, Speech doesn't return any word-level
information.
Generated from protobuf field <code>bool enable_word_info = 13;</code>
@return bool | getEnableWordInfo | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setEnableWordInfo($var)
{
GPBUtil::checkBool($var);
$this->enable_word_info = $var;
return $this;
} | If `true`, Dialogflow returns
[SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in
[StreamingRecognitionResult][google.cloud.dialogflow.v2.StreamingRecognitionResult]
with information about the recognized speech words, e.g. start and end time
offsets. If false or unspecified, Speech doesn't return any word-level
information.
Generated from protobuf field <code>bool enable_word_info = 13;</code>
@param bool $var
@return $this | setEnableWordInfo | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getPhraseHints()
{
@trigger_error('phrase_hints is deprecated.', E_USER_DEPRECATED);
return $this->phrase_hints;
} | A list of strings containing words and phrases that the speech
recognizer should recognize with higher likelihood.
See [the Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
for more details.
This field is deprecated. Please use [`speech_contexts`]() instead. If you
specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will
treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
Generated from protobuf field <code>repeated string phrase_hints = 4 [deprecated = true];</code>
@return \Google\Protobuf\Internal\RepeatedField
@deprecated | getPhraseHints | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setPhraseHints($var)
{
@trigger_error('phrase_hints is deprecated.', E_USER_DEPRECATED);
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->phrase_hints = $arr;
return $this;
} | A list of strings containing words and phrases that the speech
recognizer should recognize with higher likelihood.
See [the Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
for more details.
This field is deprecated. Please use [`speech_contexts`]() instead. If you
specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will
treat the [`phrase_hints`]() as a single additional [`SpeechContext`]().
Generated from protobuf field <code>repeated string phrase_hints = 4 [deprecated = true];</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this
@deprecated | setPhraseHints | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getSpeechContexts()
{
return $this->speech_contexts;
} | Context information to assist speech recognition.
See [the Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
for more details.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11;</code>
@return \Google\Protobuf\Internal\RepeatedField | getSpeechContexts | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setSpeechContexts($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\SpeechContext::class);
$this->speech_contexts = $arr;
return $this;
} | Context information to assist speech recognition.
See [the Cloud Speech
documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
for more details.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.SpeechContext speech_contexts = 11;</code>
@param array<\Google\Cloud\Dialogflow\V2\SpeechContext>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSpeechContexts | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getModel()
{
return $this->model;
} | Optional. Which Speech model to select for the given request.
For more information, see
[Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models).
Generated from protobuf field <code>string model = 7;</code>
@return string | getModel | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setModel($var)
{
GPBUtil::checkString($var, True);
$this->model = $var;
return $this;
} | Optional. Which Speech model to select for the given request.
For more information, see
[Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models).
Generated from protobuf field <code>string model = 7;</code>
@param string $var
@return $this | setModel | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getModelVariant()
{
return $this->model_variant;
} | Which variant of the [Speech
model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10;</code>
@return int | getModelVariant | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setModelVariant($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\Dialogflow\V2\SpeechModelVariant::class);
$this->model_variant = $var;
return $this;
} | Which variant of the [Speech
model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use.
Generated from protobuf field <code>.google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10;</code>
@param int $var
@return $this | setModelVariant | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getSingleUtterance()
{
return $this->single_utterance;
} | If `false` (default), recognition does not cease until the
client closes the stream.
If `true`, the recognizer will detect a single spoken utterance in input
audio. Recognition ceases when it detects the audio's voice has
stopped or paused. In this case, once a detected intent is received, the
client should close the stream and start a new request with a new stream as
needed.
Note: This setting is relevant only for streaming methods.
Note: When specified, InputAudioConfig.single_utterance takes precedence
over StreamingDetectIntentRequest.single_utterance.
Generated from protobuf field <code>bool single_utterance = 8;</code>
@return bool | getSingleUtterance | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setSingleUtterance($var)
{
GPBUtil::checkBool($var);
$this->single_utterance = $var;
return $this;
} | If `false` (default), recognition does not cease until the
client closes the stream.
If `true`, the recognizer will detect a single spoken utterance in input
audio. Recognition ceases when it detects the audio's voice has
stopped or paused. In this case, once a detected intent is received, the
client should close the stream and start a new request with a new stream as
needed.
Note: This setting is relevant only for streaming methods.
Note: When specified, InputAudioConfig.single_utterance takes precedence
over StreamingDetectIntentRequest.single_utterance.
Generated from protobuf field <code>bool single_utterance = 8;</code>
@param bool $var
@return $this | setSingleUtterance | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getDisableNoSpeechRecognizedEvent()
{
return $this->disable_no_speech_recognized_event;
} | Only used in
[Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent]
and
[Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent].
If `false` and recognition doesn't return any result, trigger
`NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
Generated from protobuf field <code>bool disable_no_speech_recognized_event = 14;</code>
@return bool | getDisableNoSpeechRecognizedEvent | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setDisableNoSpeechRecognizedEvent($var)
{
GPBUtil::checkBool($var);
$this->disable_no_speech_recognized_event = $var;
return $this;
} | Only used in
[Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent]
and
[Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent].
If `false` and recognition doesn't return any result, trigger
`NO_SPEECH_RECOGNIZED` event to Dialogflow agent.
Generated from protobuf field <code>bool disable_no_speech_recognized_event = 14;</code>
@param bool $var
@return $this | setDisableNoSpeechRecognizedEvent | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getEnableAutomaticPunctuation()
{
return $this->enable_automatic_punctuation;
} | Enable automatic punctuation option at the speech backend.
Generated from protobuf field <code>bool enable_automatic_punctuation = 17;</code>
@return bool | getEnableAutomaticPunctuation | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setEnableAutomaticPunctuation($var)
{
GPBUtil::checkBool($var);
$this->enable_automatic_punctuation = $var;
return $this;
} | Enable automatic punctuation option at the speech backend.
Generated from protobuf field <code>bool enable_automatic_punctuation = 17;</code>
@param bool $var
@return $this | setEnableAutomaticPunctuation | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getPhraseSets()
{
return $this->phrase_sets;
} | A collection of phrase set resources to use for speech adaptation.
Generated from protobuf field <code>repeated string phrase_sets = 20 [(.google.api.resource_reference) = {</code>
@return \Google\Protobuf\Internal\RepeatedField | getPhraseSets | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setPhraseSets($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->phrase_sets = $arr;
return $this;
} | A collection of phrase set resources to use for speech adaptation.
Generated from protobuf field <code>repeated string phrase_sets = 20 [(.google.api.resource_reference) = {</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setPhraseSets | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getOptOutConformerModelMigration()
{
return $this->opt_out_conformer_model_migration;
} | If `true`, the request will opt out for STT conformer model migration.
This field will be deprecated once force migration takes place in June
2024. Please refer to [Dialogflow ES Speech model
migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
Generated from protobuf field <code>bool opt_out_conformer_model_migration = 26;</code>
@return bool | getOptOutConformerModelMigration | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function setOptOutConformerModelMigration($var)
{
GPBUtil::checkBool($var);
$this->opt_out_conformer_model_migration = $var;
return $this;
} | If `true`, the request will opt out for STT conformer model migration.
This field will be deprecated once force migration takes place in June
2024. Please refer to [Dialogflow ES Speech model
migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration).
Generated from protobuf field <code>bool opt_out_conformer_model_migration = 26;</code>
@param bool $var
@return $this | setOptOutConformerModelMigration | php | googleapis/google-cloud-php | Dialogflow/src/V2/InputAudioConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/InputAudioConfig.php | Apache-2.0 |
public function getEmail()
{
return $this->email;
} | Required. The email address to send notifications to. The email address
does not need to be a Google Account.
Generated from protobuf field <code>string email = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getEmail | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function setEmail($var)
{
GPBUtil::checkString($var, True);
$this->email = $var;
return $this;
} | Required. The email address to send notifications to. The email address
does not need to be a Google Account.
Generated from protobuf field <code>string email = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setEmail | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function getNotificationCategorySubscriptions()
{
return $this->notification_category_subscriptions;
} | Required. The categories of notifications that the contact will receive
communications for.
Generated from protobuf field <code>repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Protobuf\Internal\RepeatedField | getNotificationCategorySubscriptions | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function setNotificationCategorySubscriptions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\EssentialContacts\V1\NotificationCategory::class);
$this->notification_category_subscriptions = $arr;
return $this;
} | Required. The categories of notifications that the contact will receive
communications for.
Generated from protobuf field <code>repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_category_subscriptions = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param array<int>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setNotificationCategorySubscriptions | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function getLanguageTag()
{
return $this->language_tag;
} | Required. The preferred language for notifications, as a ISO 639-1 language
code. See [Supported
languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages)
for a list of supported languages.
Generated from protobuf field <code>string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getLanguageTag | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function setLanguageTag($var)
{
GPBUtil::checkString($var, True);
$this->language_tag = $var;
return $this;
} | Required. The preferred language for notifications, as a ISO 639-1 language
code. See [Supported
languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages)
for a list of supported languages.
Generated from protobuf field <code>string language_tag = 4 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setLanguageTag | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function getValidationState()
{
return $this->validation_state;
} | Output only. The validity of the contact. A contact is considered valid if
it is the correct recipient for notifications for a particular resource.
Generated from protobuf field <code>.google.cloud.essentialcontacts.v1.ValidationState validation_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return int | getValidationState | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function setValidationState($var)
{
GPBUtil::checkEnum($var, \Google\Cloud\EssentialContacts\V1\ValidationState::class);
$this->validation_state = $var;
return $this;
} | Output only. The validity of the contact. A contact is considered valid if
it is the correct recipient for notifications for a particular resource.
Generated from protobuf field <code>.google.cloud.essentialcontacts.v1.ValidationState validation_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param int $var
@return $this | setValidationState | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function getValidateTime()
{
return $this->validate_time;
} | The last time the validation_state was updated, either manually or
automatically. A contact is considered stale if its validation state was
updated more than 1 year ago.
Generated from protobuf field <code>.google.protobuf.Timestamp validate_time = 9;</code>
@return \Google\Protobuf\Timestamp|null | getValidateTime | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function setValidateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->validate_time = $var;
return $this;
} | The last time the validation_state was updated, either manually or
automatically. A contact is considered stale if its validation state was
updated more than 1 year ago.
Generated from protobuf field <code>.google.protobuf.Timestamp validate_time = 9;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setValidateTime | php | googleapis/google-cloud-php | EssentialContacts/src/V1/Contact.php | https://github.com/googleapis/google-cloud-php/blob/master/EssentialContacts/src/V1/Contact.php | Apache-2.0 |
public function getConnectionEndpoints()
{
return $this->connection_endpoints;
} | [Output Only] An array of connections for all the producers connected to this network attachment.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;</code>
@return \Google\Protobuf\Internal\RepeatedField | getConnectionEndpoints | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setConnectionEndpoints($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\NetworkAttachmentConnectedEndpoint::class);
$this->connection_endpoints = $arr;
return $this;
} | [Output Only] An array of connections for all the producers connected to this network attachment.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint connection_endpoints = 326078813;</code>
@param array<\Google\Cloud\Compute\V1\NetworkAttachmentConnectedEndpoint>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setConnectionEndpoints | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getConnectionPreference()
{
return isset($this->connection_preference) ? $this->connection_preference : '';
} | Check the ConnectionPreference enum for the list of possible values.
Generated from protobuf field <code>optional string connection_preference = 285818076;</code>
@return string | getConnectionPreference | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setConnectionPreference($var)
{
GPBUtil::checkString($var, True);
$this->connection_preference = $var;
return $this;
} | Check the ConnectionPreference enum for the list of possible values.
Generated from protobuf field <code>optional string connection_preference = 285818076;</code>
@param string $var
@return $this | setConnectionPreference | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getCreationTimestamp()
{
return isset($this->creation_timestamp) ? $this->creation_timestamp : '';
} | [Output Only] Creation timestamp in RFC3339 text format.
Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code>
@return string | getCreationTimestamp | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setCreationTimestamp($var)
{
GPBUtil::checkString($var, True);
$this->creation_timestamp = $var;
return $this;
} | [Output Only] Creation timestamp in RFC3339 text format.
Generated from protobuf field <code>optional string creation_timestamp = 30525366;</code>
@param string $var
@return $this | setCreationTimestamp | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getDescription()
{
return isset($this->description) ? $this->description : '';
} | An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field <code>optional string description = 422937596;</code>
@return string | getDescription | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | An optional description of this resource. Provide this property when you create the resource.
Generated from protobuf field <code>optional string description = 422937596;</code>
@param string $var
@return $this | setDescription | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getFingerprint()
{
return isset($this->fingerprint) ? $this->fingerprint : '';
} | Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.
Generated from protobuf field <code>optional string fingerprint = 234678500;</code>
@return string | getFingerprint | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setFingerprint($var)
{
GPBUtil::checkString($var, True);
$this->fingerprint = $var;
return $this;
} | Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.
Generated from protobuf field <code>optional string fingerprint = 234678500;</code>
@param string $var
@return $this | setFingerprint | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getId()
{
return isset($this->id) ? $this->id : 0;
} | [Output Only] The unique identifier for the resource type. The server generates this identifier.
Generated from protobuf field <code>optional uint64 id = 3355;</code>
@return int|string | getId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setId($var)
{
GPBUtil::checkUint64($var);
$this->id = $var;
return $this;
} | [Output Only] The unique identifier for the resource type. The server generates this identifier.
Generated from protobuf field <code>optional uint64 id = 3355;</code>
@param int|string $var
@return $this | setId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getKind()
{
return isset($this->kind) ? $this->kind : '';
} | [Output Only] Type of the resource.
Generated from protobuf field <code>optional string kind = 3292052;</code>
@return string | getKind | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkString($var, True);
$this->kind = $var;
return $this;
} | [Output Only] Type of the 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/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getName()
{
return isset($this->name) ? $this->name : '';
} | Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Generated from protobuf field <code>optional string name = 3373707;</code>
@return string | getName | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
Generated from protobuf field <code>optional string name = 3373707;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getNetwork()
{
return isset($this->network) ? $this->network : '';
} | [Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.
Generated from protobuf field <code>optional string network = 232872494;</code>
@return string | getNetwork | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setNetwork($var)
{
GPBUtil::checkString($var, True);
$this->network = $var;
return $this;
} | [Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.
Generated from protobuf field <code>optional string network = 232872494;</code>
@param string $var
@return $this | setNetwork | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getProducerAcceptLists()
{
return $this->producer_accept_lists;
} | Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
Generated from protobuf field <code>repeated string producer_accept_lists = 202804523;</code>
@return \Google\Protobuf\Internal\RepeatedField | getProducerAcceptLists | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setProducerAcceptLists($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->producer_accept_lists = $arr;
return $this;
} | Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
Generated from protobuf field <code>repeated string producer_accept_lists = 202804523;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setProducerAcceptLists | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getProducerRejectLists()
{
return $this->producer_reject_lists;
} | Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
Generated from protobuf field <code>repeated string producer_reject_lists = 4112002;</code>
@return \Google\Protobuf\Internal\RepeatedField | getProducerRejectLists | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setProducerRejectLists($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->producer_reject_lists = $arr;
return $this;
} | Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
Generated from protobuf field <code>repeated string producer_reject_lists = 4112002;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setProducerRejectLists | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getRegion()
{
return isset($this->region) ? $this->region : '';
} | [Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Generated from protobuf field <code>optional string region = 138946292;</code>
@return string | getRegion | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | [Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
Generated from protobuf field <code>optional string region = 138946292;</code>
@param string $var
@return $this | setRegion | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getSelfLink()
{
return isset($this->self_link) ? $this->self_link : '';
} | [Output Only] Server-defined URL for the resource.
Generated from protobuf field <code>optional string self_link = 456214797;</code>
@return string | getSelfLink | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setSelfLink($var)
{
GPBUtil::checkString($var, True);
$this->self_link = $var;
return $this;
} | [Output Only] Server-defined URL for the 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/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getSelfLinkWithId()
{
return isset($this->self_link_with_id) ? $this->self_link_with_id : '';
} | [Output Only] Server-defined URL for this resource's resource id.
Generated from protobuf field <code>optional string self_link_with_id = 44520962;</code>
@return string | getSelfLinkWithId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setSelfLinkWithId($var)
{
GPBUtil::checkString($var, True);
$this->self_link_with_id = $var;
return $this;
} | [Output Only] Server-defined URL for this resource's resource id.
Generated from protobuf field <code>optional string self_link_with_id = 44520962;</code>
@param string $var
@return $this | setSelfLinkWithId | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getSubnetworks()
{
return $this->subnetworks;
} | An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
Generated from protobuf field <code>repeated string subnetworks = 415853125;</code>
@return \Google\Protobuf\Internal\RepeatedField | getSubnetworks | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function setSubnetworks($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->subnetworks = $arr;
return $this;
} | An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.
Generated from protobuf field <code>repeated string subnetworks = 415853125;</code>
@param array<string>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSubnetworks | php | googleapis/google-cloud-php | Compute/src/V1/NetworkAttachment.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/NetworkAttachment.php | Apache-2.0 |
public function getHeaders()
{
return $this->headers;
} | List of vulnerable headers.
Generated from protobuf field <code>repeated .google.cloud.websecurityscanner.v1.VulnerableHeaders.Header headers = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getHeaders | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/VulnerableHeaders.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/VulnerableHeaders.php | Apache-2.0 |
public function setHeaders($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header::class);
$this->headers = $arr;
return $this;
} | List of vulnerable headers.
Generated from protobuf field <code>repeated .google.cloud.websecurityscanner.v1.VulnerableHeaders.Header headers = 1;</code>
@param array<\Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setHeaders | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/VulnerableHeaders.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/VulnerableHeaders.php | Apache-2.0 |
public function getMissingHeaders()
{
return $this->missing_headers;
} | List of missing headers.
Generated from protobuf field <code>repeated .google.cloud.websecurityscanner.v1.VulnerableHeaders.Header missing_headers = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getMissingHeaders | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/VulnerableHeaders.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/VulnerableHeaders.php | Apache-2.0 |
public function setMissingHeaders($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header::class);
$this->missing_headers = $arr;
return $this;
} | List of missing headers.
Generated from protobuf field <code>repeated .google.cloud.websecurityscanner.v1.VulnerableHeaders.Header missing_headers = 2;</code>
@param array<\Google\Cloud\WebSecurityScanner\V1\VulnerableHeaders\Header>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setMissingHeaders | php | googleapis/google-cloud-php | WebSecurityScanner/src/V1/VulnerableHeaders.php | https://github.com/googleapis/google-cloud-php/blob/master/WebSecurityScanner/src/V1/VulnerableHeaders.php | Apache-2.0 |
public function getDimensionValues()
{
return $this->dimension_values;
} | List of requested dimension values. In a PivotReport, dimension_values
are only listed for dimensions included in a pivot.
Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getDimensionValues | php | googleapis/google-cloud-php | AnalyticsData/src/V1alpha/Row.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/Row.php | Apache-2.0 |
public function setDimensionValues($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Data\V1alpha\DimensionValue::class);
$this->dimension_values = $arr;
return $this;
} | List of requested dimension values. In a PivotReport, dimension_values
are only listed for dimensions included in a pivot.
Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1;</code>
@param array<\Google\Analytics\Data\V1alpha\DimensionValue>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setDimensionValues | php | googleapis/google-cloud-php | AnalyticsData/src/V1alpha/Row.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/Row.php | Apache-2.0 |
public function getMetricValues()
{
return $this->metric_values;
} | List of requested visible metric values.
Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getMetricValues | php | googleapis/google-cloud-php | AnalyticsData/src/V1alpha/Row.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/Row.php | Apache-2.0 |
public function setMetricValues($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Data\V1alpha\MetricValue::class);
$this->metric_values = $arr;
return $this;
} | List of requested visible metric values.
Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.MetricValue metric_values = 2;</code>
@param array<\Google\Analytics\Data\V1alpha\MetricValue>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setMetricValues | php | googleapis/google-cloud-php | AnalyticsData/src/V1alpha/Row.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsData/src/V1alpha/Row.php | Apache-2.0 |
public function getUid()
{
return $this->uid;
} | Output only. Server assigned unique identifier for the channel. The value
is a UUID4 string and guaranteed to remain unchanged until the resource is
deleted.
Generated from protobuf field <code>string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {</code>
@return string | getUid | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setUid($var)
{
GPBUtil::checkString($var, True);
$this->uid = $var;
return $this;
} | Output only. Server assigned unique identifier for the channel. The value
is a UUID4 string and guaranteed to remain unchanged until the resource is
deleted.
Generated from protobuf field <code>string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {</code>
@param string $var
@return $this | setUid | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getEtag()
{
return $this->etag;
} | Output only. This checksum is computed by the server based on the value of
other fields, and might be sent only on update and delete requests to
ensure that the client has an up-to-date value before proceeding.
Generated from protobuf field <code>string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return string | getEtag | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setEtag($var)
{
GPBUtil::checkString($var, True);
$this->etag = $var;
return $this;
} | Output only. This checksum is computed by the server based on the value of
other fields, and might be sent only on update and delete requests to
ensure that the client has an up-to-date value before proceeding.
Generated from protobuf field <code>string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param string $var
@return $this | setEtag | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getCreateTime()
{
return $this->create_time;
} | Output only. The creation time.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getCreateTime | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setCreateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->create_time = $var;
return $this;
} | Output only. The creation time.
Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setCreateTime | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getUpdateTime()
{
return $this->update_time;
} | Output only. The last-modified time.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getUpdateTime | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setUpdateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->update_time = $var;
return $this;
} | Output only. The last-modified time.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setUpdateTime | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getLabels()
{
return $this->labels;
} | Optional. Resource labels.
Generated from protobuf field <code>map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\MapField | getLabels | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setLabels($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->labels = $arr;
return $this;
} | Optional. Resource labels.
Generated from protobuf field <code>map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setLabels | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getAnnotations()
{
return $this->annotations;
} | Optional. Resource annotations.
Generated from protobuf field <code>map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\MapField | getAnnotations | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setAnnotations($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->annotations = $arr;
return $this;
} | Optional. Resource annotations.
Generated from protobuf field <code>map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setAnnotations | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getDisplayName()
{
return $this->display_name;
} | Optional. Resource display name.
Generated from protobuf field <code>string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getDisplayName | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
} | Optional. Resource display name.
Generated from protobuf field <code>string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setDisplayName | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getDestination()
{
return $this->destination;
} | Required. Destination is the message bus that the GoogleApiSource is
delivering to. It must be point to the full resource name of a MessageBus.
Format:
"projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)
Generated from protobuf field <code>string destination = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getDestination | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setDestination($var)
{
GPBUtil::checkString($var, True);
$this->destination = $var;
return $this;
} | Required. Destination is the message bus that the GoogleApiSource is
delivering to. It must be point to the full resource name of a MessageBus.
Format:
"projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)
Generated from protobuf field <code>string destination = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setDestination | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getCryptoKeyName()
{
return $this->crypto_key_name;
} | Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt their event data.
It must match the pattern
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
Generated from protobuf field <code>string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
@return string | getCryptoKeyName | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setCryptoKeyName($var)
{
GPBUtil::checkString($var, True);
$this->crypto_key_name = $var;
return $this;
} | Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt their event data.
It must match the pattern
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
Generated from protobuf field <code>string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setCryptoKeyName | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getLoggingConfig()
{
return $this->logging_config;
} | Optional. Config to control Platform logging for the GoogleApiSource.
Generated from protobuf field <code>.google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Eventarc\V1\LoggingConfig|null | getLoggingConfig | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function setLoggingConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Eventarc\V1\LoggingConfig::class);
$this->logging_config = $var;
return $this;
} | Optional. Config to control Platform logging for the GoogleApiSource.
Generated from protobuf field <code>.google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Eventarc\V1\LoggingConfig $var
@return $this | setLoggingConfig | php | googleapis/google-cloud-php | Eventarc/src/V1/GoogleApiSource.php | https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/GoogleApiSource.php | Apache-2.0 |
public function getSslPolicy()
{
return isset($this->ssl_policy) ? $this->ssl_policy : '';
} | URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.
Generated from protobuf field <code>optional string ssl_policy = 295190213;</code>
@return string | getSslPolicy | php | googleapis/google-cloud-php | Compute/src/V1/SslPolicyReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicyReference.php | Apache-2.0 |
public function setSslPolicy($var)
{
GPBUtil::checkString($var, True);
$this->ssl_policy = $var;
return $this;
} | URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.
Generated from protobuf field <code>optional string ssl_policy = 295190213;</code>
@param string $var
@return $this | setSslPolicy | php | googleapis/google-cloud-php | Compute/src/V1/SslPolicyReference.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SslPolicyReference.php | Apache-2.0 |
public function getInUseResources()
{
return $this->in_use_resources;
} | [Output only] List of resources currently in use.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;</code>
@return \Google\Protobuf\Internal\RepeatedField | getInUseResources | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function setInUseResources($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\AllocationAggregateReservationReservedResourceInfo::class);
$this->in_use_resources = $arr;
return $this;
} | [Output only] List of resources currently in use.
Generated from protobuf field <code>repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107;</code>
@param array<\Google\Cloud\Compute\V1\AllocationAggregateReservationReservedResourceInfo>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setInUseResources | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function getReservedResources()
{
return $this->reserved_resources;
} | List of reserved resources (CPUs, memory, accelerators).
Generated from protobuf field <code>repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;</code>
@return \Google\Protobuf\Internal\RepeatedField | getReservedResources | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function setReservedResources($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\AllocationAggregateReservationReservedResourceInfo::class);
$this->reserved_resources = $arr;
return $this;
} | List of reserved resources (CPUs, memory, accelerators).
Generated from protobuf field <code>repeated .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742;</code>
@param array<\Google\Cloud\Compute\V1\AllocationAggregateReservationReservedResourceInfo>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setReservedResources | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
public function getVmFamily()
{
return isset($this->vm_family) ? $this->vm_family : '';
} | The VM family that all instances scheduled against this reservation must belong to.
Check the VmFamily enum for the list of possible values.
Generated from protobuf field <code>optional string vm_family = 125017580;</code>
@return string | getVmFamily | php | googleapis/google-cloud-php | Compute/src/V1/AllocationAggregateReservation.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AllocationAggregateReservation.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.