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 getSourceIp() { return $this->source_ip; }
Source IP address. Generated from protobuf field <code>string source_ip = 1;</code> @return string
getSourceIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourceIp($var) { GPBUtil::checkString($var, True); $this->source_ip = $var; return $this; }
Source IP address. Generated from protobuf field <code>string source_ip = 1;</code> @param string $var @return $this
setSourceIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getDestinationIp() { return $this->destination_ip; }
Destination IP address. Generated from protobuf field <code>string destination_ip = 2;</code> @return string
getDestinationIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setDestinationIp($var) { GPBUtil::checkString($var, True); $this->destination_ip = $var; return $this; }
Destination IP address. Generated from protobuf field <code>string destination_ip = 2;</code> @param string $var @return $this
setDestinationIp
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getProtocol() { return $this->protocol; }
IP protocol in string format, for example: "TCP", "UDP", "ICMP". Generated from protobuf field <code>string protocol = 3;</code> @return string
getProtocol
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setProtocol($var) { GPBUtil::checkString($var, True); $this->protocol = $var; return $this; }
IP protocol in string format, for example: "TCP", "UDP", "ICMP". Generated from protobuf field <code>string protocol = 3;</code> @param string $var @return $this
setProtocol
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getSourcePort() { return $this->source_port; }
Source port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 source_port = 4;</code> @return int
getSourcePort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourcePort($var) { GPBUtil::checkInt32($var); $this->source_port = $var; return $this; }
Source port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 source_port = 4;</code> @param int $var @return $this
setSourcePort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getDestinationPort() { return $this->destination_port; }
Destination port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 destination_port = 5;</code> @return int
getDestinationPort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setDestinationPort($var) { GPBUtil::checkInt32($var); $this->destination_port = $var; return $this; }
Destination port. Only valid when protocol is TCP or UDP. Generated from protobuf field <code>int32 destination_port = 5;</code> @param int $var @return $this
setDestinationPort
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getSourceNetworkUri() { return $this->source_network_uri; }
URI of the network where this packet originates from. Generated from protobuf field <code>string source_network_uri = 6;</code> @return string
getSourceNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourceNetworkUri($var) { GPBUtil::checkString($var, True); $this->source_network_uri = $var; return $this; }
URI of the network where this packet originates from. Generated from protobuf field <code>string source_network_uri = 6;</code> @param string $var @return $this
setSourceNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getDestinationNetworkUri() { return $this->destination_network_uri; }
URI of the network where this packet is sent to. Generated from protobuf field <code>string destination_network_uri = 7;</code> @return string
getDestinationNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setDestinationNetworkUri($var) { GPBUtil::checkString($var, True); $this->destination_network_uri = $var; return $this; }
URI of the network where this packet is sent to. Generated from protobuf field <code>string destination_network_uri = 7;</code> @param string $var @return $this
setDestinationNetworkUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getSourceAgentUri() { return $this->source_agent_uri; }
URI of the source telemetry agent this packet originates from. Generated from protobuf field <code>string source_agent_uri = 8;</code> @return string
getSourceAgentUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function setSourceAgentUri($var) { GPBUtil::checkString($var, True); $this->source_agent_uri = $var; return $this; }
URI of the source telemetry agent this packet originates from. Generated from protobuf field <code>string source_agent_uri = 8;</code> @param string $var @return $this
setSourceAgentUri
php
googleapis/google-cloud-php
NetworkManagement/src/V1/EndpointInfo.php
https://github.com/googleapis/google-cloud-php/blob/master/NetworkManagement/src/V1/EndpointInfo.php
Apache-2.0
public function getApproximateNeighborCandidates() { return $this->approximate_neighbor_candidates; }
Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. Generated from protobuf field <code>int32 approximate_neighbor_candidates = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getApproximateNeighborCandidates
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function setApproximateNeighborCandidates($var) { GPBUtil::checkInt32($var); $this->approximate_neighbor_candidates = $var; return $this; }
Optional. The number of neighbors to find via approximate search before exact reordering is performed; if set, this value must be > neighbor_count. Generated from protobuf field <code>int32 approximate_neighbor_candidates = 1 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setApproximateNeighborCandidates
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function getLeafNodesSearchFraction() { return $this->leaf_nodes_search_fraction; }
Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0. Generated from protobuf field <code>double leaf_nodes_search_fraction = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return float
getLeafNodesSearchFraction
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function setLeafNodesSearchFraction($var) { GPBUtil::checkDouble($var); $this->leaf_nodes_search_fraction = $var; return $this; }
Optional. The fraction of the number of leaves to search, set at query time allows user to tune search performance. This value increase result in both search accuracy and latency increase. The value should be between 0.0 and 1.0. Generated from protobuf field <code>double leaf_nodes_search_fraction = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param float $var @return $this
setLeafNodesSearchFraction
php
googleapis/google-cloud-php
AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/NearestNeighborQuery/Parameters.php
Apache-2.0
public function getRequestHeadersToAdds() { return $this->request_headers_to_adds; }
The list of request headers to add or overwrite if they're already present. Generated from protobuf field <code>repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;</code> @return \Google\Protobuf\Internal\RepeatedField
getRequestHeadersToAdds
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
Apache-2.0
public function setRequestHeadersToAdds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Compute\V1\SecurityPolicyRuleHttpHeaderActionHttpHeaderOption::class); $this->request_headers_to_adds = $arr; return $this; }
The list of request headers to add or overwrite if they're already present. Generated from protobuf field <code>repeated .google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption request_headers_to_adds = 87987661;</code> @param array<\Google\Cloud\Compute\V1\SecurityPolicyRuleHttpHeaderActionHttpHeaderOption>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRequestHeadersToAdds
php
googleapis/google-cloud-php
Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SecurityPolicyRuleHttpHeaderAction.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @return string
getRequestId
php
googleapis/google-cloud-php
Memorystore/src/V1/DeleteInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/DeleteInstanceRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
Memorystore/src/V1/DeleteInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/DeleteInstanceRequest.php
Apache-2.0
public function getAllManagedAccounts() { return $this->readOneof(3); }
If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis. Generated from protobuf field <code>bool all_managed_accounts = 3;</code> @return bool
getAllManagedAccounts
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setAllManagedAccounts($var) { GPBUtil::checkBool($var); $this->writeOneof(3, $var); return $this; }
If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis. Generated from protobuf field <code>bool all_managed_accounts = 3;</code> @param bool $var @return $this
setAllManagedAccounts
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getTargetAccount() { return $this->readOneof(4); }
The `name` of the account you want to receive notifications for. Format: `accounts/{account}` Generated from protobuf field <code>string target_account = 4;</code> @return string
getTargetAccount
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setTargetAccount($var) { GPBUtil::checkString($var, True); $this->writeOneof(4, $var); return $this; }
The `name` of the account you want to receive notifications for. Format: `accounts/{account}` Generated from protobuf field <code>string target_account = 4;</code> @param string $var @return $this
setTargetAccount
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getName() { return $this->name; }
Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getName
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Output only. The `name` of the notification configuration. Generated by the Content API upon creation of a new `NotificationSubscription`. The `account` represents the merchant ID of the merchant that owns the configuration. Format: `accounts/{account}/notificationsubscriptions/{notification_subscription}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getRegisteredEvent() { return $this->registered_event; }
The event that the merchant wants to be notified about. Generated from protobuf field <code>.google.shopping.merchant.notifications.v1beta.NotificationSubscription.NotificationEventType registered_event = 2;</code> @return int
getRegisteredEvent
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setRegisteredEvent($var) { GPBUtil::checkEnum($var, \Google\Shopping\Merchant\Notifications\V1beta\NotificationSubscription\NotificationEventType::class); $this->registered_event = $var; return $this; }
The event that the merchant wants to be notified about. Generated from protobuf field <code>.google.shopping.merchant.notifications.v1beta.NotificationSubscription.NotificationEventType registered_event = 2;</code> @param int $var @return $this
setRegisteredEvent
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getCallBackUri() { return $this->call_back_uri; }
URL to be used to push the notification to the merchant. Generated from protobuf field <code>string call_back_uri = 5;</code> @return string
getCallBackUri
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function setCallBackUri($var) { GPBUtil::checkString($var, True); $this->call_back_uri = $var; return $this; }
URL to be used to push the notification to the merchant. Generated from protobuf field <code>string call_back_uri = 5;</code> @param string $var @return $this
setCallBackUri
php
googleapis/google-cloud-php
ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantNotifications/src/V1beta/NotificationSubscription.php
Apache-2.0
public function getName() { return $this->name; }
The resource name. Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
googleapis/google-cloud-php
Tpu/src/V2/RuntimeVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Tpu/src/V2/RuntimeVersion.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
The resource name. Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
Tpu/src/V2/RuntimeVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Tpu/src/V2/RuntimeVersion.php
Apache-2.0
public function getVersion() { return $this->version; }
The runtime version. Generated from protobuf field <code>string version = 2;</code> @return string
getVersion
php
googleapis/google-cloud-php
Tpu/src/V2/RuntimeVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Tpu/src/V2/RuntimeVersion.php
Apache-2.0
public function setVersion($var) { GPBUtil::checkString($var, True); $this->version = $var; return $this; }
The runtime version. Generated from protobuf field <code>string version = 2;</code> @param string $var @return $this
setVersion
php
googleapis/google-cloud-php
Tpu/src/V2/RuntimeVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/Tpu/src/V2/RuntimeVersion.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The Google Cloud project for which to retrieve key metadata, in the format `projects/&#42;` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
KmsInventory/src/V1/ListCryptoKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/KmsInventory/src/V1/ListCryptoKeysRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The Google Cloud project for which to retrieve key metadata, in the format `projects/&#42;` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
KmsInventory/src/V1/ListCryptoKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/KmsInventory/src/V1/ListCryptoKeysRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return int
getPageSize
php
googleapis/google-cloud-php
KmsInventory/src/V1/ListCryptoKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/KmsInventory/src/V1/ListCryptoKeysRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. Generated from protobuf field <code>int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
KmsInventory/src/V1/ListCryptoKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/KmsInventory/src/V1/ListCryptoKeysRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
Optional. Pass this into a subsequent request in order to receive the next page of results. Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getPageToken
php
googleapis/google-cloud-php
KmsInventory/src/V1/ListCryptoKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/KmsInventory/src/V1/ListCryptoKeysRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Optional. Pass this into a subsequent request in order to receive the next page of results. Generated from protobuf field <code>string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
KmsInventory/src/V1/ListCryptoKeysRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/KmsInventory/src/V1/ListCryptoKeysRequest.php
Apache-2.0
public function getName() { return $this->name; }
Required. Name of the mute config to delete. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{config_id}` + `organizations/{organization}/locations/{location}/muteConfigs/{config_id}` + `folders/{folder}/muteConfigs/{config_id}` + `folders/{folder}/locations/{location}/muteConfigs/{config_id}` + `projects/{project}/muteConfigs/{config_id}` + `projects/{project}/locations/{location}/muteConfigs/{config_id}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getName
php
googleapis/google-cloud-php
SecurityCenter/src/V2/DeleteMuteConfigRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/DeleteMuteConfigRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Name of the mute config to delete. The following list shows some examples of the format: + `organizations/{organization}/muteConfigs/{config_id}` + `organizations/{organization}/locations/{location}/muteConfigs/{config_id}` + `folders/{folder}/muteConfigs/{config_id}` + `folders/{folder}/locations/{location}/muteConfigs/{config_id}` + `projects/{project}/muteConfigs/{config_id}` + `projects/{project}/locations/{location}/muteConfigs/{config_id}` Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
SecurityCenter/src/V2/DeleteMuteConfigRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V2/DeleteMuteConfigRequest.php
Apache-2.0
public function getMatchHighlightingCondition() { return $this->match_highlighting_condition; }
The condition under which match highlighting should occur. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition match_highlighting_condition = 1;</code> @return int
getMatchHighlightingCondition
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
Apache-2.0
public function setMatchHighlightingCondition($var) { GPBUtil::checkEnum($var, \Google\Cloud\DiscoveryEngine\V1\SearchRequest\DisplaySpec\MatchHighlightingCondition::class); $this->match_highlighting_condition = $var; return $this; }
The condition under which match highlighting should occur. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec.MatchHighlightingCondition match_highlighting_condition = 1;</code> @param int $var @return $this
setMatchHighlightingCondition
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/SearchRequest/DisplaySpec.php
Apache-2.0
public function getSimpleResponses() { return $this->simple_responses; }
Required. The list of simple responses. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Protobuf\Internal\RepeatedField
getSimpleResponses
php
googleapis/google-cloud-php
Dialogflow/src/V2/Intent/Message/SimpleResponses.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/SimpleResponses.php
Apache-2.0
public function setSimpleResponses($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\V2\Intent\Message\SimpleResponse::class); $this->simple_responses = $arr; return $this; }
Required. The list of simple responses. Generated from protobuf field <code>repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param array<\Google\Cloud\Dialogflow\V2\Intent\Message\SimpleResponse>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSimpleResponses
php
googleapis/google-cloud-php
Dialogflow/src/V2/Intent/Message/SimpleResponses.php
https://github.com/googleapis/google-cloud-php/blob/master/Dialogflow/src/V2/Intent/Message/SimpleResponses.php
Apache-2.0
public function getHttpRequest() { return $this->readOneof(1); }
The HttpRequest proto. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;</code> @return \Google\Cloud\ApigeeConnect\V1\HttpRequest|null
getHttpRequest
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setHttpRequest($var) { GPBUtil::checkMessage($var, \Google\Cloud\ApigeeConnect\V1\HttpRequest::class); $this->writeOneof(1, $var); return $this; }
The HttpRequest proto. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;</code> @param \Google\Cloud\ApigeeConnect\V1\HttpRequest $var @return $this
setHttpRequest
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function getStreamInfo() { return $this->readOneof(2); }
The information of stream. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;</code> @return \Google\Cloud\ApigeeConnect\V1\StreamInfo|null
getStreamInfo
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setStreamInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\ApigeeConnect\V1\StreamInfo::class); $this->writeOneof(2, $var); return $this; }
The information of stream. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;</code> @param \Google\Cloud\ApigeeConnect\V1\StreamInfo $var @return $this
setStreamInfo
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function getAction() { return $this->readOneof(3); }
The action taken by agent. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.Action action = 3;</code> @return int
getAction
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function setAction($var) { GPBUtil::checkEnum($var, \Google\Cloud\ApigeeConnect\V1\Action::class); $this->writeOneof(3, $var); return $this; }
The action taken by agent. Generated from protobuf field <code>.google.cloud.apigeeconnect.v1.Action action = 3;</code> @param int $var @return $this
setAction
php
googleapis/google-cloud-php
ApigeeConnect/src/V1/Payload.php
https://github.com/googleapis/google-cloud-php/blob/master/ApigeeConnect/src/V1/Payload.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
The time when the router status was last updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 1;</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
EdgeNetwork/src/V1/DiagnoseRouterResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/EdgeNetwork/src/V1/DiagnoseRouterResponse.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
The time when the router status was last updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 1;</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
EdgeNetwork/src/V1/DiagnoseRouterResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/EdgeNetwork/src/V1/DiagnoseRouterResponse.php
Apache-2.0
public function getResult() { return $this->result; }
The network status of a specific router. Generated from protobuf field <code>.google.cloud.edgenetwork.v1.RouterStatus result = 2;</code> @return \Google\Cloud\EdgeNetwork\V1\RouterStatus|null
getResult
php
googleapis/google-cloud-php
EdgeNetwork/src/V1/DiagnoseRouterResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/EdgeNetwork/src/V1/DiagnoseRouterResponse.php
Apache-2.0
public function setResult($var) { GPBUtil::checkMessage($var, \Google\Cloud\EdgeNetwork\V1\RouterStatus::class); $this->result = $var; return $this; }
The network status of a specific router. Generated from protobuf field <code>.google.cloud.edgenetwork.v1.RouterStatus result = 2;</code> @param \Google\Cloud\EdgeNetwork\V1\RouterStatus $var @return $this
setResult
php
googleapis/google-cloud-php
EdgeNetwork/src/V1/DiagnoseRouterResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/EdgeNetwork/src/V1/DiagnoseRouterResponse.php
Apache-2.0
public function getInstanceId() { return $this->instance_id; }
Required. The ID to use for the instance, which will become the final component of the instance's resource name. This value is subject to the following restrictions: * Must be 4-63 characters in length * Must begin with a letter or digit * Must contain only lowercase letters, digits, and hyphens * Must not end with a hyphen * Must be unique within a location Generated from protobuf field <code>string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getInstanceId
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function setInstanceId($var) { GPBUtil::checkString($var, True); $this->instance_id = $var; return $this; }
Required. The ID to use for the instance, which will become the final component of the instance's resource name. This value is subject to the following restrictions: * Must be 4-63 characters in length * Must begin with a letter or digit * Must contain only lowercase letters, digits, and hyphens * Must not end with a hyphen * Must be unique within a location Generated from protobuf field <code>string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setInstanceId
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function getInstance() { return $this->instance; }
Required. The instance to create. Generated from protobuf field <code>.google.cloud.memorystore.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Memorystore\V1beta\Instance|null
getInstance
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function setInstance($var) { GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1beta\Instance::class); $this->instance = $var; return $this; }
Required. The instance to create. Generated from protobuf field <code>.google.cloud.memorystore.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Memorystore\V1beta\Instance $var @return $this
setInstance
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @return string
getRequestId
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). Generated from protobuf field <code>string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
Memorystore/src/V1beta/CreateInstanceRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1beta/CreateInstanceRequest.php
Apache-2.0
public function getSampleTime() { return $this->sample_time; }
Time the sample was collected. If omitted, the frame report time will be used. Generated from protobuf field <code>.google.protobuf.Timestamp sample_time = 1;</code> @return \Google\Protobuf\Timestamp|null
getSampleTime
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setSampleTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->sample_time = $var; return $this; }
Time the sample was collected. If omitted, the frame report time will be used. Generated from protobuf field <code>.google.protobuf.Timestamp sample_time = 1;</code> @param \Google\Protobuf\Timestamp $var @return $this
setSampleTime
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getMemory() { return $this->memory; }
Memory usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;</code> @return \Google\Cloud\MigrationCenter\V1\MemoryUsageSample|null
getMemory
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setMemory($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\MemoryUsageSample::class); $this->memory = $var; return $this; }
Memory usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;</code> @param \Google\Cloud\MigrationCenter\V1\MemoryUsageSample $var @return $this
setMemory
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getCpu() { return $this->cpu; }
CPU usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;</code> @return \Google\Cloud\MigrationCenter\V1\CpuUsageSample|null
getCpu
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setCpu($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\CpuUsageSample::class); $this->cpu = $var; return $this; }
CPU usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;</code> @param \Google\Cloud\MigrationCenter\V1\CpuUsageSample $var @return $this
setCpu
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getNetwork() { return $this->network; }
Network usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.NetworkUsageSample network = 4;</code> @return \Google\Cloud\MigrationCenter\V1\NetworkUsageSample|null
getNetwork
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setNetwork($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\NetworkUsageSample::class); $this->network = $var; return $this; }
Network usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.NetworkUsageSample network = 4;</code> @param \Google\Cloud\MigrationCenter\V1\NetworkUsageSample $var @return $this
setNetwork
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getDisk() { return $this->disk; }
Disk usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DiskUsageSample disk = 5;</code> @return \Google\Cloud\MigrationCenter\V1\DiskUsageSample|null
getDisk
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function setDisk($var) { GPBUtil::checkMessage($var, \Google\Cloud\MigrationCenter\V1\DiskUsageSample::class); $this->disk = $var; return $this; }
Disk usage sample. Generated from protobuf field <code>.google.cloud.migrationcenter.v1.DiskUsageSample disk = 5;</code> @param \Google\Cloud\MigrationCenter\V1\DiskUsageSample $var @return $this
setDisk
php
googleapis/google-cloud-php
MigrationCenter/src/V1/PerformanceSample.php
https://github.com/googleapis/google-cloud-php/blob/master/MigrationCenter/src/V1/PerformanceSample.php
Apache-2.0
public function getTitle() { return $this->title; }
The text that displays in the grid header. Generated from protobuf field <code>string title = 1;</code> @return string
getTitle
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function setTitle($var) { GPBUtil::checkString($var, True); $this->title = $var; return $this; }
The text that displays in the grid header. Generated from protobuf field <code>string title = 1;</code> @param string $var @return $this
setTitle
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function getItems() { return $this->items; }
The items to display in the grid. Generated from protobuf field <code>repeated .google.apps.card.v1.Grid.GridItem items = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getItems
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Apps\Card\V1\Grid\GridItem::class); $this->items = $arr; return $this; }
The items to display in the grid. Generated from protobuf field <code>repeated .google.apps.card.v1.Grid.GridItem items = 2;</code> @param array<\Google\Apps\Card\V1\Grid\GridItem>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function getBorderStyle() { return $this->border_style; }
The border style to apply to each grid item. Generated from protobuf field <code>.google.apps.card.v1.BorderStyle border_style = 3;</code> @return \Google\Apps\Card\V1\BorderStyle|null
getBorderStyle
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function setBorderStyle($var) { GPBUtil::checkMessage($var, \Google\Apps\Card\V1\BorderStyle::class); $this->border_style = $var; return $this; }
The border style to apply to each grid item. Generated from protobuf field <code>.google.apps.card.v1.BorderStyle border_style = 3;</code> @param \Google\Apps\Card\V1\BorderStyle $var @return $this
setBorderStyle
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function getColumnCount() { return $this->column_count; }
The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion). Generated from protobuf field <code>int32 column_count = 4;</code> @return int
getColumnCount
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function setColumnCount($var) { GPBUtil::checkInt32($var); $this->column_count = $var; return $this; }
The number of columns to display in the grid. A default value is used if this field isn't specified, and that default value is different depending on where the grid is shown (dialog versus companion). Generated from protobuf field <code>int32 column_count = 4;</code> @param int $var @return $this
setColumnCount
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function getOnClick() { return $this->on_click; }
This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. Generated from protobuf field <code>.google.apps.card.v1.OnClick on_click = 5;</code> @return \Google\Apps\Card\V1\OnClick|null
getOnClick
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function setOnClick($var) { GPBUtil::checkMessage($var, \Google\Apps\Card\V1\OnClick::class); $this->on_click = $var; return $this; }
This callback is reused by each individual grid item, but with the item's identifier and index in the items list added to the callback's parameters. Generated from protobuf field <code>.google.apps.card.v1.OnClick on_click = 5;</code> @param \Google\Apps\Card\V1\OnClick $var @return $this
setOnClick
php
googleapis/google-cloud-php
AppsChat/src/Card/V1/Grid.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsChat/src/Card/V1/Grid.php
Apache-2.0
public function getCeBoolean() { return $this->readOneof(1); }
Boolean value. Generated from protobuf field <code>bool ce_boolean = 1;</code> @return bool
getCeBoolean
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeBoolean($var) { GPBUtil::checkBool($var); $this->writeOneof(1, $var); return $this; }
Boolean value. Generated from protobuf field <code>bool ce_boolean = 1;</code> @param bool $var @return $this
setCeBoolean
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeInteger() { return $this->readOneof(2); }
Integer value. Generated from protobuf field <code>int32 ce_integer = 2;</code> @return int
getCeInteger
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeInteger($var) { GPBUtil::checkInt32($var); $this->writeOneof(2, $var); return $this; }
Integer value. Generated from protobuf field <code>int32 ce_integer = 2;</code> @param int $var @return $this
setCeInteger
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeString() { return $this->readOneof(3); }
String value. Generated from protobuf field <code>string ce_string = 3;</code> @return string
getCeString
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeString($var) { GPBUtil::checkString($var, True); $this->writeOneof(3, $var); return $this; }
String value. Generated from protobuf field <code>string ce_string = 3;</code> @param string $var @return $this
setCeString
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeBytes() { return $this->readOneof(4); }
Bytes value. Generated from protobuf field <code>bytes ce_bytes = 4;</code> @return string
getCeBytes
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeBytes($var) { GPBUtil::checkString($var, False); $this->writeOneof(4, $var); return $this; }
Bytes value. Generated from protobuf field <code>bytes ce_bytes = 4;</code> @param string $var @return $this
setCeBytes
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeUri() { return $this->readOneof(5); }
URI value. Generated from protobuf field <code>string ce_uri = 5;</code> @return string
getCeUri
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeUri($var) { GPBUtil::checkString($var, True); $this->writeOneof(5, $var); return $this; }
URI value. Generated from protobuf field <code>string ce_uri = 5;</code> @param string $var @return $this
setCeUri
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeUriRef() { return $this->readOneof(6); }
URI-reference value. Generated from protobuf field <code>string ce_uri_ref = 6;</code> @return string
getCeUriRef
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeUriRef($var) { GPBUtil::checkString($var, True); $this->writeOneof(6, $var); return $this; }
URI-reference value. Generated from protobuf field <code>string ce_uri_ref = 6;</code> @param string $var @return $this
setCeUriRef
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function getCeTimestamp() { return $this->readOneof(7); }
Timestamp value. Generated from protobuf field <code>.google.protobuf.Timestamp ce_timestamp = 7;</code> @return \Google\Protobuf\Timestamp|null
getCeTimestamp
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0
public function setCeTimestamp($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->writeOneof(7, $var); return $this; }
Timestamp value. Generated from protobuf field <code>.google.protobuf.Timestamp ce_timestamp = 7;</code> @param \Google\Protobuf\Timestamp $var @return $this
setCeTimestamp
php
googleapis/google-cloud-php
EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
https://github.com/googleapis/google-cloud-php/blob/master/EventarcPublishing/src/V1/CloudEvent/CloudEventAttributeValue.php
Apache-2.0