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 setAllowLargeDeadlineDespiteInterruptionRisk($var) { GPBUtil::checkBool($var); $this->allow_large_deadline_despite_interruption_risk = $var; return $this; }
If this is set, then the request can have a deadline (see https://grpc.io/blog/deadlines) of up to 60 minutes. Otherwise, the maximum deadline is only 30 minutes. Note that long-lived requests have a significantly larger (but still small) risk of interruption. Generated from protobuf field <code>bool allow_large_deadline_despite_interruption_risk = 14;</code> @param bool $var @return $this
setAllowLargeDeadlineDespiteInterruptionRisk
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function getUseGeodesicDistances() { return $this->use_geodesic_distances; }
If true, travel distances will be computed using geodesic distances instead of Google Maps distances, and travel times will be computed using geodesic distances with a speed defined by `geodesic_meters_per_second`. Generated from protobuf field <code>bool use_geodesic_distances = 15;</code> @return bool
getUseGeodesicDistances
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function setUseGeodesicDistances($var) { GPBUtil::checkBool($var); $this->use_geodesic_distances = $var; return $this; }
If true, travel distances will be computed using geodesic distances instead of Google Maps distances, and travel times will be computed using geodesic distances with a speed defined by `geodesic_meters_per_second`. Generated from protobuf field <code>bool use_geodesic_distances = 15;</code> @param bool $var @return $this
setUseGeodesicDistances
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function getGeodesicMetersPerSecond() { return isset($this->geodesic_meters_per_second) ? $this->geodesic_meters_per_second : 0.0; }
When `use_geodesic_distances` is true, this field must be set and defines the speed applied to compute travel times. Its value must be at least 1.0 meters/seconds. Generated from protobuf field <code>optional double geodesic_meters_per_second = 16;</code> @return float
getGeodesicMetersPerSecond
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function setGeodesicMetersPerSecond($var) { GPBUtil::checkDouble($var); $this->geodesic_meters_per_second = $var; return $this; }
When `use_geodesic_distances` is true, this field must be set and defines the speed applied to compute travel times. Its value must be at least 1.0 meters/seconds. Generated from protobuf field <code>optional double geodesic_meters_per_second = 16;</code> @param float $var @return $this
setGeodesicMetersPerSecond
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function getMaxValidationErrors() { return isset($this->max_validation_errors) ? $this->max_validation_errors : 0; }
Truncates the number of validation errors returned. These errors are typically attached to an INVALID_ARGUMENT error payload as a BadRequest error detail (https://cloud.google.com/apis/design/errors#error_details), unless solving_mode=VALIDATE_ONLY: see the [OptimizeToursResponse.validation_errors][google.maps.routeoptimization.v1.OptimizeToursResponse.validation_errors] field. This defaults to 100 and is capped at 10,000. Generated from protobuf field <code>optional int32 max_validation_errors = 5;</code> @return int
getMaxValidationErrors
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function setMaxValidationErrors($var) { GPBUtil::checkInt32($var); $this->max_validation_errors = $var; return $this; }
Truncates the number of validation errors returned. These errors are typically attached to an INVALID_ARGUMENT error payload as a BadRequest error detail (https://cloud.google.com/apis/design/errors#error_details), unless solving_mode=VALIDATE_ONLY: see the [OptimizeToursResponse.validation_errors][google.maps.routeoptimization.v1.OptimizeToursResponse.validation_errors] field. This defaults to 100 and is capped at 10,000. Generated from protobuf field <code>optional int32 max_validation_errors = 5;</code> @param int $var @return $this
setMaxValidationErrors
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function getLabel() { return $this->label; }
Label that may be used to identify this request, reported back in the [OptimizeToursResponse.request_label][google.maps.routeoptimization.v1.OptimizeToursResponse.request_label]. Generated from protobuf field <code>string label = 17;</code> @return string
getLabel
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function setLabel($var) { GPBUtil::checkString($var, True); $this->label = $var; return $this; }
Label that may be used to identify this request, reported back in the [OptimizeToursResponse.request_label][google.maps.routeoptimization.v1.OptimizeToursResponse.request_label]. Generated from protobuf field <code>string label = 17;</code> @param string $var @return $this
setLabel
php
googleapis/google-cloud-php
MapsRouteOptimization/src/V1/OptimizeToursRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/MapsRouteOptimization/src/V1/OptimizeToursRequest.php
Apache-2.0
public function getBusinessIdentity() { return $this->business_identity; }
Required. The new version of the business identity. Generated from protobuf field <code>.google.shopping.merchant.accounts.v1beta.BusinessIdentity business_identity = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Shopping\Merchant\Accounts\V1beta\BusinessIdentity|null
getBusinessIdentity
php
googleapis/google-cloud-php
ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
Apache-2.0
public function setBusinessIdentity($var) { GPBUtil::checkMessage($var, \Google\Shopping\Merchant\Accounts\V1beta\BusinessIdentity::class); $this->business_identity = $var; return $this; }
Required. The new version of the business identity. Generated from protobuf field <code>.google.shopping.merchant.accounts.v1beta.BusinessIdentity business_identity = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Shopping\Merchant\Accounts\V1beta\BusinessIdentity $var @return $this
setBusinessIdentity
php
googleapis/google-cloud-php
ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
Apache-2.0
public function getUpdateMask() { return $this->update_mask; }
Required. List of fields being updated. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Protobuf\FieldMask|null
getUpdateMask
php
googleapis/google-cloud-php
ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
Apache-2.0
public function setUpdateMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->update_mask = $var; return $this; }
Required. List of fields being updated. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Protobuf\FieldMask $var @return $this
setUpdateMask
php
googleapis/google-cloud-php
ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ShoppingMerchantAccounts/src/V1beta/UpdateBusinessIdentityRequest.php
Apache-2.0
public function getType() { return $this->type; }
Output only. The full name of the event type (for example, "google.cloud.storage.object.v1.finalized"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match. Generated from protobuf field <code>string type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getType
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; }
Output only. The full name of the event type (for example, "google.cloud.storage.object.v1.finalized"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match. Generated from protobuf field <code>string type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setType
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function getDescription() { return $this->description; }
Output only. Human friendly description of what the event type is about. For example "Bucket created in Cloud Storage". Generated from protobuf field <code>string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getDescription
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkString($var, True); $this->description = $var; return $this; }
Output only. Human friendly description of what the event type is about. For example "Bucket created in Cloud Storage". Generated from protobuf field <code>string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setDescription
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function getFilteringAttributes() { return $this->filtering_attributes; }
Output only. Filtering attributes for the event type. Generated from protobuf field <code>repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getFilteringAttributes
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function setFilteringAttributes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Eventarc\V1\FilteringAttribute::class); $this->filtering_attributes = $arr; return $this; }
Output only. Filtering attributes for the event type. Generated from protobuf field <code>repeated .google.cloud.eventarc.v1.FilteringAttribute filtering_attributes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<\Google\Cloud\Eventarc\V1\FilteringAttribute>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setFilteringAttributes
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function getEventSchemaUri() { return $this->event_schema_uri; }
Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto" Generated from protobuf field <code>string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getEventSchemaUri
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function setEventSchemaUri($var) { GPBUtil::checkString($var, True); $this->event_schema_uri = $var; return $this; }
Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto" Generated from protobuf field <code>string event_schema_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setEventSchemaUri
php
googleapis/google-cloud-php
Eventarc/src/V1/EventType.php
https://github.com/googleapis/google-cloud-php/blob/master/Eventarc/src/V1/EventType.php
Apache-2.0
public function getDataScan() { return $this->data_scan; }
Required. DataScan resource to be updated. Only fields specified in `update_mask` are updated. Generated from protobuf field <code>.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Dataplex\V1\DataScan|null
getDataScan
php
googleapis/google-cloud-php
Dataplex/src/V1/UpdateDataScanRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/UpdateDataScanRequest.php
Apache-2.0
public function setDataScan($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\DataScan::class); $this->data_scan = $var; return $this; }
Required. DataScan resource to be updated. Only fields specified in `update_mask` are updated. Generated from protobuf field <code>.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Dataplex\V1\DataScan $var @return $this
setDataScan
php
googleapis/google-cloud-php
Dataplex/src/V1/UpdateDataScanRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/UpdateDataScanRequest.php
Apache-2.0
public function getUpdateMask() { return $this->update_mask; }
Optional. Mask of fields to update. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\FieldMask|null
getUpdateMask
php
googleapis/google-cloud-php
Dataplex/src/V1/UpdateDataScanRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/UpdateDataScanRequest.php
Apache-2.0
public function setUpdateMask($var) { GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); $this->update_mask = $var; return $this; }
Optional. Mask of fields to update. Generated from protobuf field <code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Protobuf\FieldMask $var @return $this
setUpdateMask
php
googleapis/google-cloud-php
Dataplex/src/V1/UpdateDataScanRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/UpdateDataScanRequest.php
Apache-2.0
public function getValidateOnly() { return $this->validate_only; }
Optional. Only validate the request, but do not perform mutations. The default is `false`. Generated from protobuf field <code>bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getValidateOnly
php
googleapis/google-cloud-php
Dataplex/src/V1/UpdateDataScanRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/UpdateDataScanRequest.php
Apache-2.0
public function setValidateOnly($var) { GPBUtil::checkBool($var); $this->validate_only = $var; return $this; }
Optional. Only validate the request, but do not perform mutations. The default is `false`. Generated from protobuf field <code>bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setValidateOnly
php
googleapis/google-cloud-php
Dataplex/src/V1/UpdateDataScanRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataplex/src/V1/UpdateDataScanRequest.php
Apache-2.0
public function getNodes() { return $this->nodes; }
The list of nodes that make the up resource path, ordered from lowest level to highest level. Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.ResourcePath.ResourcePathNode nodes = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getNodes
php
googleapis/google-cloud-php
SecurityCenter/src/V1/ResourcePath.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/ResourcePath.php
Apache-2.0
public function setNodes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecurityCenter\V1\ResourcePath\ResourcePathNode::class); $this->nodes = $arr; return $this; }
The list of nodes that make the up resource path, ordered from lowest level to highest level. Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.ResourcePath.ResourcePathNode nodes = 1;</code> @param array<\Google\Cloud\SecurityCenter\V1\ResourcePath\ResourcePathNode>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setNodes
php
googleapis/google-cloud-php
SecurityCenter/src/V1/ResourcePath.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/ResourcePath.php
Apache-2.0
public function getTemplate() { return $this->template; }
Required. The updated workflow template. The `template.version` field must match the current version. Generated from protobuf field <code>.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Dataproc\V1\WorkflowTemplate|null
getTemplate
php
googleapis/google-cloud-php
Dataproc/src/V1/UpdateWorkflowTemplateRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/UpdateWorkflowTemplateRequest.php
Apache-2.0
public function setTemplate($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\WorkflowTemplate::class); $this->template = $var; return $this; }
Required. The updated workflow template. The `template.version` field must match the current version. Generated from protobuf field <code>.google.cloud.dataproc.v1.WorkflowTemplate template = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Dataproc\V1\WorkflowTemplate $var @return $this
setTemplate
php
googleapis/google-cloud-php
Dataproc/src/V1/UpdateWorkflowTemplateRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/UpdateWorkflowTemplateRequest.php
Apache-2.0
public function getOsImages() { return $this->os_images; }
The OS images available. Generated from protobuf field <code>repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getOsImages
php
googleapis/google-cloud-php
BareMetalSolution/src/V2/ListOSImagesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/ListOSImagesResponse.php
Apache-2.0
public function setOsImages($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BareMetalSolution\V2\OSImage::class); $this->os_images = $arr; return $this; }
The OS images available. Generated from protobuf field <code>repeated .google.cloud.baremetalsolution.v2.OSImage os_images = 1;</code> @param array<\Google\Cloud\BareMetalSolution\V2\OSImage>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setOsImages
php
googleapis/google-cloud-php
BareMetalSolution/src/V2/ListOSImagesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/ListOSImagesResponse.php
Apache-2.0
public function getNextPageToken() { return $this->next_page_token; }
Token to retrieve the next page of results, or empty if there are no more results in the list. Generated from protobuf field <code>string next_page_token = 2;</code> @return string
getNextPageToken
php
googleapis/google-cloud-php
BareMetalSolution/src/V2/ListOSImagesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/ListOSImagesResponse.php
Apache-2.0
public function setNextPageToken($var) { GPBUtil::checkString($var, True); $this->next_page_token = $var; return $this; }
Token to retrieve the next page of results, or empty if there are no more results in the list. Generated from protobuf field <code>string next_page_token = 2;</code> @param string $var @return $this
setNextPageToken
php
googleapis/google-cloud-php
BareMetalSolution/src/V2/ListOSImagesResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/BareMetalSolution/src/V2/ListOSImagesResponse.php
Apache-2.0
public function getGithubConfig() { return $this->readOneof(5); }
Configuration for connections to github.com. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitHubConfig github_config = 5;</code> @return \Google\Cloud\DeveloperConnect\V1\GitHubConfig|null
getGithubConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setGithubConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\GitHubConfig::class); $this->writeOneof(5, $var); return $this; }
Configuration for connections to github.com. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitHubConfig github_config = 5;</code> @param \Google\Cloud\DeveloperConnect\V1\GitHubConfig $var @return $this
setGithubConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getGithubEnterpriseConfig() { return $this->readOneof(13); }
Configuration for connections to an instance of GitHub Enterprise. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;</code> @return \Google\Cloud\DeveloperConnect\V1\GitHubEnterpriseConfig|null
getGithubEnterpriseConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setGithubEnterpriseConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\GitHubEnterpriseConfig::class); $this->writeOneof(13, $var); return $this; }
Configuration for connections to an instance of GitHub Enterprise. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitHubEnterpriseConfig github_enterprise_config = 13;</code> @param \Google\Cloud\DeveloperConnect\V1\GitHubEnterpriseConfig $var @return $this
setGithubEnterpriseConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getGitlabConfig() { return $this->readOneof(14); }
Configuration for connections to gitlab.com. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;</code> @return \Google\Cloud\DeveloperConnect\V1\GitLabConfig|null
getGitlabConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setGitlabConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\GitLabConfig::class); $this->writeOneof(14, $var); return $this; }
Configuration for connections to gitlab.com. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitLabConfig gitlab_config = 14;</code> @param \Google\Cloud\DeveloperConnect\V1\GitLabConfig $var @return $this
setGitlabConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getGitlabEnterpriseConfig() { return $this->readOneof(16); }
Configuration for connections to an instance of GitLab Enterprise. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;</code> @return \Google\Cloud\DeveloperConnect\V1\GitLabEnterpriseConfig|null
getGitlabEnterpriseConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setGitlabEnterpriseConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\GitLabEnterpriseConfig::class); $this->writeOneof(16, $var); return $this; }
Configuration for connections to an instance of GitLab Enterprise. Generated from protobuf field <code>.google.cloud.developerconnect.v1.GitLabEnterpriseConfig gitlab_enterprise_config = 16;</code> @param \Google\Cloud\DeveloperConnect\V1\GitLabEnterpriseConfig $var @return $this
setGitlabEnterpriseConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getName() { return $this->name; }
Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code> @return string
getName
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = IDENTIFIER];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. [Output only] Create timestamp Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. [Output only] Create timestamp Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
Output only. [Output only] Update timestamp Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
Output only. [Output only] Update timestamp Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getDeleteTime() { return $this->delete_time; }
Output only. [Output only] Delete timestamp Generated from protobuf field <code>.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getDeleteTime
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setDeleteTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->delete_time = $var; return $this; }
Output only. [Output only] Delete timestamp Generated from protobuf field <code>.google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setDeleteTime
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getLabels() { return $this->labels; }
Optional. Labels as key value pairs Generated from protobuf field <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\MapField
getLabels
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.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. Labels as key value pairs Generated from protobuf field <code>map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setLabels
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getInstallationState() { return $this->installation_state; }
Output only. Installation state of the Connection. Generated from protobuf field <code>.google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\DeveloperConnect\V1\InstallationState|null
getInstallationState
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setInstallationState($var) { GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\InstallationState::class); $this->installation_state = $var; return $this; }
Output only. Installation state of the Connection. Generated from protobuf field <code>.google.cloud.developerconnect.v1.InstallationState installation_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\DeveloperConnect\V1\InstallationState $var @return $this
setInstallationState
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getDisabled() { return $this->disabled; }
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. Generated from protobuf field <code>bool disabled = 7 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getDisabled
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setDisabled($var) { GPBUtil::checkBool($var); $this->disabled = $var; return $this; }
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. Generated from protobuf field <code>bool disabled = 7 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setDisabled
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getReconciling() { return $this->reconciling; }
Output only. Set to true when the connection is being set up or updated in the background. Generated from protobuf field <code>bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getReconciling
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setReconciling($var) { GPBUtil::checkBool($var); $this->reconciling = $var; return $this; }
Output only. Set to true when the connection is being set up or updated in the background. Generated from protobuf field <code>bool reconciling = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setReconciling
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getAnnotations() { return $this->annotations; }
Optional. Allows clients to store small amounts of arbitrary data. Generated from protobuf field <code>map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Protobuf\Internal\MapField
getAnnotations
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.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. Allows clients to store small amounts of arbitrary data. Generated from protobuf field <code>map<string, string> annotations = 9 [(.google.api.field_behavior) = OPTIONAL];</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setAnnotations
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getEtag() { return $this->etag; }
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Generated from protobuf field <code>string etag = 10 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getEtag
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setEtag($var) { GPBUtil::checkString($var, True); $this->etag = $var; return $this; }
Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Generated from protobuf field <code>string etag = 10 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setEtag
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getUid() { return $this->uid; }
Output only. A system-assigned unique identifier for a the GitRepositoryLink. Generated from protobuf field <code>string uid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {</code> @return string
getUid
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setUid($var) { GPBUtil::checkString($var, True); $this->uid = $var; return $this; }
Output only. A system-assigned unique identifier for a the GitRepositoryLink. Generated from protobuf field <code>string uid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {</code> @param string $var @return $this
setUid
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getCryptoKeyConfig() { return $this->crypto_key_config; }
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. Generated from protobuf field <code>.google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\DeveloperConnect\V1\CryptoKeyConfig|null
getCryptoKeyConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function setCryptoKeyConfig($var) { GPBUtil::checkMessage($var, \Google\Cloud\DeveloperConnect\V1\CryptoKeyConfig::class); $this->crypto_key_config = $var; return $this; }
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature. Generated from protobuf field <code>.google.cloud.developerconnect.v1.CryptoKeyConfig crypto_key_config = 15 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\DeveloperConnect\V1\CryptoKeyConfig $var @return $this
setCryptoKeyConfig
php
googleapis/google-cloud-php
DeveloperConnect/src/V1/Connection.php
https://github.com/googleapis/google-cloud-php/blob/master/DeveloperConnect/src/V1/Connection.php
Apache-2.0
public function getDescription() { return $this->description; }
A user-supplied message describing the event. The maximum length for the description is 256 bytes. Generated from protobuf field <code>.google.devtools.cloudtrace.v2.TruncatableString description = 1;</code> @return \Google\Cloud\Trace\V2\TruncatableString|null
getDescription
php
googleapis/google-cloud-php
Trace/src/V2/Span/TimeEvent/Annotation.php
https://github.com/googleapis/google-cloud-php/blob/master/Trace/src/V2/Span/TimeEvent/Annotation.php
Apache-2.0
public function setDescription($var) { GPBUtil::checkMessage($var, \Google\Cloud\Trace\V2\TruncatableString::class); $this->description = $var; return $this; }
A user-supplied message describing the event. The maximum length for the description is 256 bytes. Generated from protobuf field <code>.google.devtools.cloudtrace.v2.TruncatableString description = 1;</code> @param \Google\Cloud\Trace\V2\TruncatableString $var @return $this
setDescription
php
googleapis/google-cloud-php
Trace/src/V2/Span/TimeEvent/Annotation.php
https://github.com/googleapis/google-cloud-php/blob/master/Trace/src/V2/Span/TimeEvent/Annotation.php
Apache-2.0
public function getAttributes() { return $this->attributes; }
A set of attributes on the annotation. You can have up to 4 attributes per Annotation. Generated from protobuf field <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;</code> @return \Google\Cloud\Trace\V2\Span\Attributes|null
getAttributes
php
googleapis/google-cloud-php
Trace/src/V2/Span/TimeEvent/Annotation.php
https://github.com/googleapis/google-cloud-php/blob/master/Trace/src/V2/Span/TimeEvent/Annotation.php
Apache-2.0
public function setAttributes($var) { GPBUtil::checkMessage($var, \Google\Cloud\Trace\V2\Span\Attributes::class); $this->attributes = $var; return $this; }
A set of attributes on the annotation. You can have up to 4 attributes per Annotation. Generated from protobuf field <code>.google.devtools.cloudtrace.v2.Span.Attributes attributes = 2;</code> @param \Google\Cloud\Trace\V2\Span\Attributes $var @return $this
setAttributes
php
googleapis/google-cloud-php
Trace/src/V2/Span/TimeEvent/Annotation.php
https://github.com/googleapis/google-cloud-php/blob/master/Trace/src/V2/Span/TimeEvent/Annotation.php
Apache-2.0
public function getPlatform() { return $this->platform; }
Platform on which the threat was discovered. Generated from protobuf field <code>.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;</code> @return int
getPlatform
php
googleapis/google-cloud-php
WebRisk/src/V1/ThreatDiscovery.php
https://github.com/googleapis/google-cloud-php/blob/master/WebRisk/src/V1/ThreatDiscovery.php
Apache-2.0
public function setPlatform($var) { GPBUtil::checkEnum($var, \Google\Cloud\WebRisk\V1\ThreatDiscovery\Platform::class); $this->platform = $var; return $this; }
Platform on which the threat was discovered. Generated from protobuf field <code>.google.cloud.webrisk.v1.ThreatDiscovery.Platform platform = 1;</code> @param int $var @return $this
setPlatform
php
googleapis/google-cloud-php
WebRisk/src/V1/ThreatDiscovery.php
https://github.com/googleapis/google-cloud-php/blob/master/WebRisk/src/V1/ThreatDiscovery.php
Apache-2.0
public function getRegionCodes() { return $this->region_codes; }
CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States. Generated from protobuf field <code>repeated string region_codes = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getRegionCodes
php
googleapis/google-cloud-php
WebRisk/src/V1/ThreatDiscovery.php
https://github.com/googleapis/google-cloud-php/blob/master/WebRisk/src/V1/ThreatDiscovery.php
Apache-2.0
public function setRegionCodes($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->region_codes = $arr; return $this; }
CLDR region code of the countries/regions the URI poses a threat ordered from most impact to least impact. Example: "US" for United States. Generated from protobuf field <code>repeated string region_codes = 2;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRegionCodes
php
googleapis/google-cloud-php
WebRisk/src/V1/ThreatDiscovery.php
https://github.com/googleapis/google-cloud-php/blob/master/WebRisk/src/V1/ThreatDiscovery.php
Apache-2.0
public function getName() { return $this->name; }
Output only. Identifier. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = {</code> @return string
getName
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Output only. Identifier. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = {</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getLinkedResource() { return $this->linked_resource; }
The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` Output only when the entry is one of the types in the `EntryType` enum. For entries with a `user_specified_type`, this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8. Generated from protobuf field <code>string linked_resource = 9;</code> @return string
getLinkedResource
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setLinkedResource($var) { GPBUtil::checkString($var, True); $this->linked_resource = $var; return $this; }
The resource this metadata entry refers to. For Google Cloud Platform resources, `linked_resource` is the [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). For example, the `linked_resource` for a table resource from BigQuery is: `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` Output only when the entry is one of the types in the `EntryType` enum. For entries with a `user_specified_type`, this field is optional and defaults to an empty string. The resource string must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), periods (.), colons (:), slashes (/), dashes (-), and hashes (#). The maximum size is 200 bytes when encoded in UTF-8. Generated from protobuf field <code>string linked_resource = 9;</code> @param string $var @return $this
setLinkedResource
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getFullyQualifiedName() { return $this->fully_qualified_name; }
[Fully Qualified Name (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries. Generated from protobuf field <code>string fully_qualified_name = 29;</code> @return string
getFullyQualifiedName
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setFullyQualifiedName($var) { GPBUtil::checkString($var, True); $this->fully_qualified_name = $var; return $this; }
[Fully Qualified Name (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) of the resource. Set automatically for entries representing resources from synced systems. Settable only during creation, and read-only later. Can be used for search and lookup of the entries. Generated from protobuf field <code>string fully_qualified_name = 29;</code> @param string $var @return $this
setFullyQualifiedName
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getType() { return $this->readOneof(2); }
The type of the entry. For details, see [`EntryType`](#entrytype). Generated from protobuf field <code>.google.cloud.datacatalog.v1.EntryType type = 2;</code> @return int
getType
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\DataCatalog\V1\EntryType::class); $this->writeOneof(2, $var); return $this; }
The type of the entry. For details, see [`EntryType`](#entrytype). Generated from protobuf field <code>.google.cloud.datacatalog.v1.EntryType type = 2;</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getUserSpecifiedType() { return $this->readOneof(16); }
Custom entry type that doesn't match any of the values allowed for input and listed in the `EntryType` enum. When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example, `my_special_type`. The `user_specified_type` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. Generated from protobuf field <code>string user_specified_type = 16;</code> @return string
getUserSpecifiedType
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setUserSpecifiedType($var) { GPBUtil::checkString($var, True); $this->writeOneof(16, $var); return $this; }
Custom entry type that doesn't match any of the values allowed for input and listed in the `EntryType` enum. When creating an entry, first check the type values in the enum. If there are no appropriate types for the new entry, provide a custom value, for example, `my_special_type`. The `user_specified_type` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. Generated from protobuf field <code>string user_specified_type = 16;</code> @param string $var @return $this
setUserSpecifiedType
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getIntegratedSystem() { return $this->readOneof(17); }
Output only. Indicates the entry's source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. Generated from protobuf field <code>.google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getIntegratedSystem
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setIntegratedSystem($var) { GPBUtil::checkEnum($var, \Google\Cloud\DataCatalog\V1\IntegratedSystem::class); $this->writeOneof(17, $var); return $this; }
Output only. Indicates the entry's source system that Data Catalog integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. Generated from protobuf field <code>.google.cloud.datacatalog.v1.IntegratedSystem integrated_system = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setIntegratedSystem
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getUserSpecifiedSystem() { return $this->readOneof(18); }
Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The `user_specified_system` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. Generated from protobuf field <code>string user_specified_system = 18;</code> @return string
getUserSpecifiedSystem
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setUserSpecifiedSystem($var) { GPBUtil::checkString($var, True); $this->writeOneof(18, $var); return $this; }
Indicates the entry's source system that Data Catalog doesn't automatically integrate with. The `user_specified_system` string has the following limitations: * Is case insensitive. * Must begin with a letter or underscore. * Can only contain letters, numbers, and underscores. * Must be at least 1 character and at most 64 characters long. Generated from protobuf field <code>string user_specified_system = 18;</code> @param string $var @return $this
setUserSpecifiedSystem
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getSqlDatabaseSystemSpec() { return $this->readOneof(39); }
Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE` Generated from protobuf field <code>.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;</code> @return \Google\Cloud\DataCatalog\V1\SqlDatabaseSystemSpec|null
getSqlDatabaseSystemSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setSqlDatabaseSystemSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\SqlDatabaseSystemSpec::class); $this->writeOneof(39, $var); return $this; }
Specification that applies to a relational database system. Only settable when `user_specified_system` is equal to `SQL_DATABASE` Generated from protobuf field <code>.google.cloud.datacatalog.v1.SqlDatabaseSystemSpec sql_database_system_spec = 39;</code> @param \Google\Cloud\DataCatalog\V1\SqlDatabaseSystemSpec $var @return $this
setSqlDatabaseSystemSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getLookerSystemSpec() { return $this->readOneof(40); }
Specification that applies to Looker sysstem. Only settable when `user_specified_system` is equal to `LOOKER` Generated from protobuf field <code>.google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;</code> @return \Google\Cloud\DataCatalog\V1\LookerSystemSpec|null
getLookerSystemSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setLookerSystemSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\LookerSystemSpec::class); $this->writeOneof(40, $var); return $this; }
Specification that applies to Looker sysstem. Only settable when `user_specified_system` is equal to `LOOKER` Generated from protobuf field <code>.google.cloud.datacatalog.v1.LookerSystemSpec looker_system_spec = 40;</code> @param \Google\Cloud\DataCatalog\V1\LookerSystemSpec $var @return $this
setLookerSystemSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getCloudBigtableSystemSpec() { return $this->readOneof(41); }
Specification that applies to Cloud Bigtable system. Only settable when `integrated_system` is equal to `CLOUD_BIGTABLE` Generated from protobuf field <code>.google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41;</code> @return \Google\Cloud\DataCatalog\V1\CloudBigtableSystemSpec|null
getCloudBigtableSystemSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setCloudBigtableSystemSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\CloudBigtableSystemSpec::class); $this->writeOneof(41, $var); return $this; }
Specification that applies to Cloud Bigtable system. Only settable when `integrated_system` is equal to `CLOUD_BIGTABLE` Generated from protobuf field <code>.google.cloud.datacatalog.v1.CloudBigtableSystemSpec cloud_bigtable_system_spec = 41;</code> @param \Google\Cloud\DataCatalog\V1\CloudBigtableSystemSpec $var @return $this
setCloudBigtableSystemSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getGcsFilesetSpec() { return $this->readOneof(6); }
Specification that applies to a Cloud Storage fileset. Valid only for entries with the `FILESET` type. Generated from protobuf field <code>.google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;</code> @return \Google\Cloud\DataCatalog\V1\GcsFilesetSpec|null
getGcsFilesetSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setGcsFilesetSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\GcsFilesetSpec::class); $this->writeOneof(6, $var); return $this; }
Specification that applies to a Cloud Storage fileset. Valid only for entries with the `FILESET` type. Generated from protobuf field <code>.google.cloud.datacatalog.v1.GcsFilesetSpec gcs_fileset_spec = 6;</code> @param \Google\Cloud\DataCatalog\V1\GcsFilesetSpec $var @return $this
setGcsFilesetSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getBigqueryTableSpec() { return $this->readOneof(12); }
Output only. Specification that applies to a BigQuery table. Valid only for entries with the `TABLE` type. Generated from protobuf field <code>.google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\DataCatalog\V1\BigQueryTableSpec|null
getBigqueryTableSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function setBigqueryTableSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DataCatalog\V1\BigQueryTableSpec::class); $this->writeOneof(12, $var); return $this; }
Output only. Specification that applies to a BigQuery table. Valid only for entries with the `TABLE` type. Generated from protobuf field <code>.google.cloud.datacatalog.v1.BigQueryTableSpec bigquery_table_spec = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\DataCatalog\V1\BigQueryTableSpec $var @return $this
setBigqueryTableSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0
public function getBigqueryDateShardedSpec() { return $this->readOneof(15); }
Output only. Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name pattern. For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). Generated from protobuf field <code>.google.cloud.datacatalog.v1.BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\DataCatalog\V1\BigQueryDateShardedSpec|null
getBigqueryDateShardedSpec
php
googleapis/google-cloud-php
DataCatalog/src/V1/Entry.php
https://github.com/googleapis/google-cloud-php/blob/master/DataCatalog/src/V1/Entry.php
Apache-2.0