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 setZone($var)
{
GPBUtil::checkString($var, True);
$this->zone = $var;
return $this;
} | The name of the zone for this request.
Generated from protobuf field <code>string zone = 3744684 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "zone"];</code>
@param string $var
@return $this | setZone | php | googleapis/google-cloud-php | Compute/src/V1/SetMetadataInstanceRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetMetadataInstanceRequest.php | Apache-2.0 |
public function getHostname()
{
return $this->hostname;
} | Required. Hostname for the PostgreSQL connection.
Generated from protobuf field <code>string hostname = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getHostname | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setHostname($var)
{
GPBUtil::checkString($var, True);
$this->hostname = $var;
return $this;
} | Required. Hostname for the PostgreSQL connection.
Generated from protobuf field <code>string hostname = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setHostname | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getPort()
{
return $this->port;
} | Port for the PostgreSQL connection, default value is 5432.
Generated from protobuf field <code>int32 port = 2;</code>
@return int | getPort | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setPort($var)
{
GPBUtil::checkInt32($var);
$this->port = $var;
return $this;
} | Port for the PostgreSQL connection, default value is 5432.
Generated from protobuf field <code>int32 port = 2;</code>
@param int $var
@return $this | setPort | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getUsername()
{
return $this->username;
} | Required. Username for the PostgreSQL connection.
Generated from protobuf field <code>string username = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getUsername | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setUsername($var)
{
GPBUtil::checkString($var, True);
$this->username = $var;
return $this;
} | Required. Username for the PostgreSQL connection.
Generated from protobuf field <code>string username = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setUsername | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getPassword()
{
return $this->password;
} | Optional. Password for the PostgreSQL connection. Mutually exclusive with
the `secret_manager_stored_password` field.
Generated from protobuf field <code>string password = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getPassword | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setPassword($var)
{
GPBUtil::checkString($var, True);
$this->password = $var;
return $this;
} | Optional. Password for the PostgreSQL connection. Mutually exclusive with
the `secret_manager_stored_password` field.
Generated from protobuf field <code>string password = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setPassword | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getDatabase()
{
return $this->database;
} | Required. Database for the PostgreSQL connection.
Generated from protobuf field <code>string database = 5 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getDatabase | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setDatabase($var)
{
GPBUtil::checkString($var, True);
$this->database = $var;
return $this;
} | Required. Database for the PostgreSQL connection.
Generated from protobuf field <code>string database = 5 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setDatabase | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getSecretManagerStoredPassword()
{
return $this->secret_manager_stored_password;
} | Optional. A reference to a Secret Manager resource name storing the
PostgreSQL connection password. Mutually exclusive with the `password`
field.
Generated from protobuf field <code>string secret_manager_stored_password = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@return string | getSecretManagerStoredPassword | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setSecretManagerStoredPassword($var)
{
GPBUtil::checkString($var, True);
$this->secret_manager_stored_password = $var;
return $this;
} | Optional. A reference to a Secret Manager resource name storing the
PostgreSQL connection password. Mutually exclusive with the `password`
field.
Generated from protobuf field <code>string secret_manager_stored_password = 6 [(.google.api.field_behavior) = OPTIONAL];</code>
@param string $var
@return $this | setSecretManagerStoredPassword | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getSslConfig()
{
return $this->ssl_config;
} | Optional. SSL configuration for the PostgreSQL connection.
In case PostgresqlSslConfig is not set, the connection will use the default
SSL mode, which is `prefer` (i.e. this mode will only use encryption if
enabled from database side, otherwise will use unencrypted communication)
Generated from protobuf field <code>.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\Datastream\V1\PostgresqlSslConfig|null | getSslConfig | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function setSslConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Datastream\V1\PostgresqlSslConfig::class);
$this->ssl_config = $var;
return $this;
} | Optional. SSL configuration for the PostgreSQL connection.
In case PostgresqlSslConfig is not set, the connection will use the default
SSL mode, which is `prefer` (i.e. this mode will only use encryption if
enabled from database side, otherwise will use unencrypted communication)
Generated from protobuf field <code>.google.cloud.datastream.v1.PostgresqlSslConfig ssl_config = 7 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\Datastream\V1\PostgresqlSslConfig $var
@return $this | setSslConfig | php | googleapis/google-cloud-php | Datastream/src/V1/PostgresqlProfile.php | https://github.com/googleapis/google-cloud-php/blob/master/Datastream/src/V1/PostgresqlProfile.php | Apache-2.0 |
public function getSignedEntities()
{
return $this->signed_entities;
} | Optional. A list of signed entities containing container image signatures
that can be used for server-side signature verification.
Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Protobuf\Internal\RepeatedField | getSignedEntities | php | googleapis/google-cloud-php | ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php | Apache-2.0 |
public function setSignedEntities($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\ConfidentialComputing\V1\SignedEntity::class);
$this->signed_entities = $arr;
return $this;
} | Optional. A list of signed entities containing container image signatures
that can be used for server-side signature verification.
Generated from protobuf field <code>repeated .google.cloud.confidentialcomputing.v1.SignedEntity signed_entities = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
@param array<\Google\Cloud\ConfidentialComputing\V1\SignedEntity>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSignedEntities | php | googleapis/google-cloud-php | ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/ConfidentialComputing/src/V1/ConfidentialSpaceInfo.php | Apache-2.0 |
public function getContentSearchSpec()
{
return $this->content_search_spec;
} | Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec content_search_spec = 1;</code>
@return \Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec|null | getContentSearchSpec | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php | Apache-2.0 |
public function setContentSearchSpec($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec::class);
$this->content_search_spec = $var;
return $this;
} | Specifies the expected behavior of content search.
Only valid for content-search enabled data store.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec content_search_spec = 1;</code>
@param \Google\Cloud\DiscoveryEngine\V1\SearchRequest\ContentSearchSpec $var
@return $this | setContentSearchSpec | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/ServingConfig/GenericConfig.php | Apache-2.0 |
public function getDockerRepository()
{
return $this->readOneof(2);
} | Specific settings for a Docker remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\DockerRepository|null | getDockerRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setDockerRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\DockerRepository::class);
$this->writeOneof(2, $var);
return $this;
} | Specific settings for a Docker remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\DockerRepository $var
@return $this | setDockerRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getMavenRepository()
{
return $this->readOneof(3);
} | Specific settings for a Maven remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\MavenRepository|null | getMavenRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setMavenRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\MavenRepository::class);
$this->writeOneof(3, $var);
return $this;
} | Specific settings for a Maven remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\MavenRepository $var
@return $this | setMavenRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getNpmRepository()
{
return $this->readOneof(4);
} | Specific settings for an Npm remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\NpmRepository|null | getNpmRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setNpmRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\NpmRepository::class);
$this->writeOneof(4, $var);
return $this;
} | Specific settings for an Npm remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\NpmRepository $var
@return $this | setNpmRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getPythonRepository()
{
return $this->readOneof(5);
} | Specific settings for a Python remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\PythonRepository|null | getPythonRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setPythonRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\PythonRepository::class);
$this->writeOneof(5, $var);
return $this;
} | Specific settings for a Python remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\PythonRepository $var
@return $this | setPythonRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getAptRepository()
{
return $this->readOneof(6);
} | Specific settings for an Apt remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\AptRepository|null | getAptRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setAptRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\AptRepository::class);
$this->writeOneof(6, $var);
return $this;
} | Specific settings for an Apt remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\AptRepository $var
@return $this | setAptRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getYumRepository()
{
return $this->readOneof(7);
} | Specific settings for a Yum remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\YumRepository|null | getYumRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setYumRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\YumRepository::class);
$this->writeOneof(7, $var);
return $this;
} | Specific settings for a Yum remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\YumRepository $var
@return $this | setYumRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getCommonRepository()
{
return $this->readOneof(14);
} | Common remote repository settings.
Used as the remote repository upstream URL.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\CommonRemoteRepository|null | getCommonRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setCommonRepository($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\CommonRemoteRepository::class);
$this->writeOneof(14, $var);
return $this;
} | Common remote repository settings.
Used as the remote repository upstream URL.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\CommonRemoteRepository $var
@return $this | setCommonRepository | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getDescription()
{
return $this->description;
} | The description of the remote source.
Generated from protobuf field <code>string description = 1;</code>
@return string | getDescription | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | The description of the remote source.
Generated from protobuf field <code>string description = 1;</code>
@param string $var
@return $this | setDescription | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getUpstreamCredentials()
{
return $this->upstream_credentials;
} | Optional. The credentials used to access the remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@return \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\UpstreamCredentials|null | getUpstreamCredentials | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setUpstreamCredentials($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\UpstreamCredentials::class);
$this->upstream_credentials = $var;
return $this;
} | Optional. The credentials used to access the remote repository.
Generated from protobuf field <code>.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];</code>
@param \Google\Cloud\ArtifactRegistry\V1\RemoteRepositoryConfig\UpstreamCredentials $var
@return $this | setUpstreamCredentials | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getDisableUpstreamValidation()
{
return $this->disable_upstream_validation;
} | Input only. A create/update remote repo option to avoid making a HEAD/GET
request to validate a remote repo and any supplied upstream credentials.
Generated from protobuf field <code>bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];</code>
@return bool | getDisableUpstreamValidation | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function setDisableUpstreamValidation($var)
{
GPBUtil::checkBool($var);
$this->disable_upstream_validation = $var;
return $this;
} | Input only. A create/update remote repo option to avoid making a HEAD/GET
request to validate a remote repo and any supplied upstream credentials.
Generated from protobuf field <code>bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];</code>
@param bool $var
@return $this | setDisableUpstreamValidation | php | googleapis/google-cloud-php | ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/RemoteRepositoryConfig.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The name of the model version to be deleted, with a version ID
explicitly included.
Example: `projects/{project}/locations/{location}/models/{model}@1234`
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 | AiPlatform/src/V1/DeleteModelVersionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DeleteModelVersionRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. The name of the model version to be deleted, with a version ID
explicitly included.
Example: `projects/{project}/locations/{location}/models/{model}@1234`
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 | AiPlatform/src/V1/DeleteModelVersionRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DeleteModelVersionRequest.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Package name.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getName | php | googleapis/google-cloud-php | OsConfig/src/V1/OSPolicy/Resource/PackageResource/APT.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicy/Resource/PackageResource/APT.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Package name.
Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | OsConfig/src/V1/OSPolicy/Resource/PackageResource/APT.php | https://github.com/googleapis/google-cloud-php/blob/master/OsConfig/src/V1/OSPolicy/Resource/PackageResource/APT.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | The name of the environment.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
Generated from protobuf field <code>string name = 1;</code>
@return string | getName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | The name of the environment.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>`.
Generated from protobuf field <code>string name = 1;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getDisplayName()
{
return $this->display_name;
} | Required. The human-readable name of the environment (unique in an agent).
Limit of 64 characters.
Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getDisplayName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
} | Required. The human-readable name of the environment (unique in an agent).
Limit of 64 characters.
Generated from protobuf field <code>string display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setDisplayName | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getDescription()
{
return $this->description;
} | The human-readable description of the environment. The maximum length is
500 characters. If exceeded, the request is rejected.
Generated from protobuf field <code>string description = 3;</code>
@return string | getDescription | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setDescription($var)
{
GPBUtil::checkString($var, True);
$this->description = $var;
return $this;
} | The human-readable description of the environment. The maximum length is
500 characters. If exceeded, the request is rejected.
Generated from protobuf field <code>string description = 3;</code>
@param string $var
@return $this | setDescription | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getVersionConfigs()
{
return $this->version_configs;
} | A list of configurations for flow versions. You should include version
configs for all flows that are reachable from [`Start
Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
returned.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;</code>
@return \Google\Protobuf\Internal\RepeatedField | getVersionConfigs | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setVersionConfigs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dialogflow\Cx\V3\Environment\VersionConfig::class);
$this->version_configs = $arr;
return $this;
} | A list of configurations for flow versions. You should include version
configs for all flows that are reachable from [`Start
Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
returned.
Generated from protobuf field <code>repeated .google.cloud.dialogflow.cx.v3.Environment.VersionConfig version_configs = 6;</code>
@param array<\Google\Cloud\Dialogflow\Cx\V3\Environment\VersionConfig>|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setVersionConfigs | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getUpdateTime()
{
return $this->update_time;
} | Output only. Update time of this environment.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@return \Google\Protobuf\Timestamp|null | getUpdateTime | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setUpdateTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->update_time = $var;
return $this;
} | Output only. Update time of this environment.
Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setUpdateTime | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getTestCasesConfig()
{
return $this->test_cases_config;
} | The test cases config for continuous tests of this environment.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;</code>
@return \Google\Cloud\Dialogflow\Cx\V3\Environment\TestCasesConfig|null | getTestCasesConfig | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setTestCasesConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\Environment\TestCasesConfig::class);
$this->test_cases_config = $var;
return $this;
} | The test cases config for continuous tests of this environment.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig test_cases_config = 7;</code>
@param \Google\Cloud\Dialogflow\Cx\V3\Environment\TestCasesConfig $var
@return $this | setTestCasesConfig | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getWebhookConfig()
{
return $this->webhook_config;
} | The webhook configuration for this environment.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.WebhookConfig webhook_config = 10;</code>
@return \Google\Cloud\Dialogflow\Cx\V3\Environment\WebhookConfig|null | getWebhookConfig | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function setWebhookConfig($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\Environment\WebhookConfig::class);
$this->webhook_config = $var;
return $this;
} | The webhook configuration for this environment.
Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.Environment.WebhookConfig webhook_config = 10;</code>
@param \Google\Cloud\Dialogflow\Cx\V3\Environment\WebhookConfig $var
@return $this | setWebhookConfig | php | googleapis/google-cloud-php | DialogflowCx/src/V3/Environment.php | https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/Environment.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. Resource name of the recording.
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 | AppsMeet/src/V2/GetRecordingRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AppsMeet/src/V2/GetRecordingRequest.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Required. Resource name of the recording.
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 | AppsMeet/src/V2/GetRecordingRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AppsMeet/src/V2/GetRecordingRequest.php | Apache-2.0 |
public function getPscAutoConnection()
{
return $this->readOneof(1);
} | Detailed information of a PSC connection that is created through
service connectivity automation.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;</code>
@return \Google\Cloud\Memorystore\V1\PscAutoConnection|null | getPscAutoConnection | php | googleapis/google-cloud-php | Memorystore/src/V1/Instance/ConnectionDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/ConnectionDetail.php | Apache-2.0 |
public function setPscAutoConnection($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1\PscAutoConnection::class);
$this->writeOneof(1, $var);
return $this;
} | Detailed information of a PSC connection that is created through
service connectivity automation.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscAutoConnection psc_auto_connection = 1;</code>
@param \Google\Cloud\Memorystore\V1\PscAutoConnection $var
@return $this | setPscAutoConnection | php | googleapis/google-cloud-php | Memorystore/src/V1/Instance/ConnectionDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/ConnectionDetail.php | Apache-2.0 |
public function getPscConnection()
{
return $this->readOneof(2);
} | Detailed information of a PSC connection that is created by the user.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnection psc_connection = 2;</code>
@return \Google\Cloud\Memorystore\V1\PscConnection|null | getPscConnection | php | googleapis/google-cloud-php | Memorystore/src/V1/Instance/ConnectionDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/ConnectionDetail.php | Apache-2.0 |
public function setPscConnection($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Memorystore\V1\PscConnection::class);
$this->writeOneof(2, $var);
return $this;
} | Detailed information of a PSC connection that is created by the user.
Generated from protobuf field <code>.google.cloud.memorystore.v1.PscConnection psc_connection = 2;</code>
@param \Google\Cloud\Memorystore\V1\PscConnection $var
@return $this | setPscConnection | php | googleapis/google-cloud-php | Memorystore/src/V1/Instance/ConnectionDetail.php | https://github.com/googleapis/google-cloud-php/blob/master/Memorystore/src/V1/Instance/ConnectionDetail.php | Apache-2.0 |
public function getMajorVersion()
{
return isset($this->major_version) ? $this->major_version : '';
} | The version's major version name.
Generated from protobuf field <code>optional string major_version = 3;</code>
@return string | getMajorVersion | php | googleapis/google-cloud-php | SqlAdmin/src/V1/AvailableDatabaseVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php | Apache-2.0 |
public function setMajorVersion($var)
{
GPBUtil::checkString($var, True);
$this->major_version = $var;
return $this;
} | The version's major version name.
Generated from protobuf field <code>optional string major_version = 3;</code>
@param string $var
@return $this | setMajorVersion | php | googleapis/google-cloud-php | SqlAdmin/src/V1/AvailableDatabaseVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php | Apache-2.0 |
public function getName()
{
return isset($this->name) ? $this->name : '';
} | The database version name. For MySQL 8.0, this string provides the database
major and minor version.
Generated from protobuf field <code>optional string name = 8;</code>
@return string | getName | php | googleapis/google-cloud-php | SqlAdmin/src/V1/AvailableDatabaseVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php | Apache-2.0 |
public function setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | The database version name. For MySQL 8.0, this string provides the database
major and minor version.
Generated from protobuf field <code>optional string name = 8;</code>
@param string $var
@return $this | setName | php | googleapis/google-cloud-php | SqlAdmin/src/V1/AvailableDatabaseVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php | Apache-2.0 |
public function getDisplayName()
{
return isset($this->display_name) ? $this->display_name : '';
} | The database version's display name.
Generated from protobuf field <code>optional string display_name = 9;</code>
@return string | getDisplayName | php | googleapis/google-cloud-php | SqlAdmin/src/V1/AvailableDatabaseVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php | Apache-2.0 |
public function setDisplayName($var)
{
GPBUtil::checkString($var, True);
$this->display_name = $var;
return $this;
} | The database version's display name.
Generated from protobuf field <code>optional string display_name = 9;</code>
@param string $var
@return $this | setDisplayName | php | googleapis/google-cloud-php | SqlAdmin/src/V1/AvailableDatabaseVersion.php | https://github.com/googleapis/google-cloud-php/blob/master/SqlAdmin/src/V1/AvailableDatabaseVersion.php | Apache-2.0 |
public function getChunkInfo()
{
return $this->readOneof(1);
} | Chunk information.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec.EndUserMetaData.ChunkInfo chunk_info = 1;</code>
@return \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData\ChunkInfo|null | getChunkInfo | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php | Apache-2.0 |
public function setChunkInfo($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData\ChunkInfo::class);
$this->writeOneof(1, $var);
return $this;
} | Chunk information.
Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec.EndUserMetaData.ChunkInfo chunk_info = 1;</code>
@param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\EndUserSpec\EndUserMetaData\ChunkInfo $var
@return $this | setChunkInfo | php | googleapis/google-cloud-php | DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php | https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/EndUserSpec/EndUserMetaData.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The name of the project/folder/organization where this
saved_query should be created in. It can only be an organization number
(such as "organizations/123"), a folder number (such as "folders/123"), a
project ID (such as "projects/my-project-id"), or a project number (such as
"projects/12345").
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 | Asset/src/V1/CreateSavedQueryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/CreateSavedQueryRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The name of the project/folder/organization where this
saved_query should be created in. It can only be an organization number
(such as "organizations/123"), a folder number (such as "folders/123"), a
project ID (such as "projects/my-project-id"), or a project number (such as
"projects/12345").
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 | Asset/src/V1/CreateSavedQueryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/CreateSavedQueryRequest.php | Apache-2.0 |
public function getSavedQuery()
{
return $this->saved_query;
} | Required. The saved_query details. The `name` field must be empty as it
will be generated based on the parent and saved_query_id.
Generated from protobuf field <code>.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Asset\V1\SavedQuery|null | getSavedQuery | php | googleapis/google-cloud-php | Asset/src/V1/CreateSavedQueryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/CreateSavedQueryRequest.php | Apache-2.0 |
public function setSavedQuery($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\SavedQuery::class);
$this->saved_query = $var;
return $this;
} | Required. The saved_query details. The `name` field must be empty as it
will be generated based on the parent and saved_query_id.
Generated from protobuf field <code>.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Asset\V1\SavedQuery $var
@return $this | setSavedQuery | php | googleapis/google-cloud-php | Asset/src/V1/CreateSavedQueryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/CreateSavedQueryRequest.php | Apache-2.0 |
public function getSavedQueryId()
{
return $this->saved_query_id;
} | Required. The ID to use for the saved query, which must be unique in the
specified parent. It will become the final component of the saved query's
resource name.
This value should be 4-63 characters, and valid characters
are `[a-z][0-9]-`.
Notice that this field is required in the saved query creation, and the
`name` field of the `saved_query` will be ignored.
Generated from protobuf field <code>string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getSavedQueryId | php | googleapis/google-cloud-php | Asset/src/V1/CreateSavedQueryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/CreateSavedQueryRequest.php | Apache-2.0 |
public function setSavedQueryId($var)
{
GPBUtil::checkString($var, True);
$this->saved_query_id = $var;
return $this;
} | Required. The ID to use for the saved query, which must be unique in the
specified parent. It will become the final component of the saved query's
resource name.
This value should be 4-63 characters, and valid characters
are `[a-z][0-9]-`.
Notice that this field is required in the saved query creation, and the
`name` field of the `saved_query` will be ignored.
Generated from protobuf field <code>string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setSavedQueryId | php | googleapis/google-cloud-php | Asset/src/V1/CreateSavedQueryRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Asset/src/V1/CreateSavedQueryRequest.php | Apache-2.0 |
public function getEnabled()
{
return $this->enabled;
} | Enable Managed Collection.
Generated from protobuf field <code>bool enabled = 1;</code>
@return bool | getEnabled | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/ManagedPrometheusConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/ManagedPrometheusConfig.php | Apache-2.0 |
public function setEnabled($var)
{
GPBUtil::checkBool($var);
$this->enabled = $var;
return $this;
} | Enable Managed Collection.
Generated from protobuf field <code>bool enabled = 1;</code>
@param bool $var
@return $this | setEnabled | php | googleapis/google-cloud-php | GkeMultiCloud/src/V1/ManagedPrometheusConfig.php | https://github.com/googleapis/google-cloud-php/blob/master/GkeMultiCloud/src/V1/ManagedPrometheusConfig.php | Apache-2.0 |
public function getOrgPolicyViolationInfo()
{
return $this->org_policy_violation_info;
} | Indicates the orgpolicy violations for this resource.
Generated from protobuf field <code>.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;</code>
@return \Google\Cloud\Audit\OrgPolicyViolationInfo|null | getOrgPolicyViolationInfo | php | googleapis/google-cloud-php | CloudCommonProtos/src/Audit/PolicyViolationInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/PolicyViolationInfo.php | Apache-2.0 |
public function setOrgPolicyViolationInfo($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Audit\OrgPolicyViolationInfo::class);
$this->org_policy_violation_info = $var;
return $this;
} | Indicates the orgpolicy violations for this resource.
Generated from protobuf field <code>.google.cloud.audit.OrgPolicyViolationInfo org_policy_violation_info = 1;</code>
@param \Google\Cloud\Audit\OrgPolicyViolationInfo $var
@return $this | setOrgPolicyViolationInfo | php | googleapis/google-cloud-php | CloudCommonProtos/src/Audit/PolicyViolationInfo.php | https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/Audit/PolicyViolationInfo.php | Apache-2.0 |
public function getParent()
{
return $this->parent;
} | Required. The TargetProject's parent.
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 | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function setParent($var)
{
GPBUtil::checkString($var, True);
$this->parent = $var;
return $this;
} | Required. The TargetProject's parent.
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 | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function getTargetProjectId()
{
return $this->target_project_id;
} | Required. The target_project identifier.
Generated from protobuf field <code>string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getTargetProjectId | php | googleapis/google-cloud-php | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function setTargetProjectId($var)
{
GPBUtil::checkString($var, True);
$this->target_project_id = $var;
return $this;
} | Required. The target_project identifier.
Generated from protobuf field <code>string target_project_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setTargetProjectId | php | googleapis/google-cloud-php | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function getTargetProject()
{
return $this->target_project;
} | Required. The create request body.
Generated from protobuf field <code>.google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\VMMigration\V1\TargetProject|null | getTargetProject | php | googleapis/google-cloud-php | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function setTargetProject($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\VMMigration\V1\TargetProject::class);
$this->target_project = $var;
return $this;
} | Required. The create request body.
Generated from protobuf field <code>.google.cloud.vmmigration.v1.TargetProject target_project = 3 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\VMMigration\V1\TargetProject $var
@return $this | setTargetProject | php | googleapis/google-cloud-php | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | A 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 t
he 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;</code>
@return string | getRequestId | php | googleapis/google-cloud-php | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | A 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 t
he 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;</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | VmMigration/src/V1/CreateTargetProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateTargetProjectRequest.php | Apache-2.0 |
public function getMetadataResource()
{
return $this->metadata_resource;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.Metadata metadata_resource = 291086110 [(.google.api.field_behavior) = REQUIRED];</code>
@return \Google\Cloud\Compute\V1\Metadata|null | getMetadataResource | php | googleapis/google-cloud-php | Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | Apache-2.0 |
public function setMetadataResource($var)
{
GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Metadata::class);
$this->metadata_resource = $var;
return $this;
} | The body resource for this request
Generated from protobuf field <code>.google.cloud.compute.v1.Metadata metadata_resource = 291086110 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Compute\V1\Metadata $var
@return $this | setMetadataResource | php | googleapis/google-cloud-php | Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | Apache-2.0 |
public function getProject()
{
return $this->project;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];</code>
@return string | getProject | php | googleapis/google-cloud-php | Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | Apache-2.0 |
public function setProject($var)
{
GPBUtil::checkString($var, True);
$this->project = $var;
return $this;
} | Project ID for this request.
Generated from protobuf field <code>string project = 227560217 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "project"];</code>
@param string $var
@return $this | setProject | php | googleapis/google-cloud-php | Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | Apache-2.0 |
public function getRequestId()
{
return isset($this->request_id) ? $this->request_id : '';
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@return string | getRequestId | php | googleapis/google-cloud-php | Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
Generated from protobuf field <code>optional string request_id = 37109963;</code>
@param string $var
@return $this | setRequestId | php | googleapis/google-cloud-php | Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetCommonInstanceMetadataProjectRequest.php | Apache-2.0 |
public function getRegistration()
{
return $this->registration;
} | Required. The name of the `Registration` whose authorization code is being retrieved,
in the format `projects/*/locations/*/registrations/*`.
Generated from protobuf field <code>string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@return string | getRegistration | php | googleapis/google-cloud-php | Domains/src/V1/RetrieveAuthorizationCodeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/RetrieveAuthorizationCodeRequest.php | Apache-2.0 |
public function setRegistration($var)
{
GPBUtil::checkString($var, True);
$this->registration = $var;
return $this;
} | Required. The name of the `Registration` whose authorization code is being retrieved,
in the format `projects/*/locations/*/registrations/*`.
Generated from protobuf field <code>string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
@param string $var
@return $this | setRegistration | php | googleapis/google-cloud-php | Domains/src/V1/RetrieveAuthorizationCodeRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/Domains/src/V1/RetrieveAuthorizationCodeRequest.php | Apache-2.0 |
public function getRunFunction()
{
return $this->run_function;
} | Required. The endpoint to execute when this extension point is activated.
Generated from protobuf field <code>string run_function = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@return string | getRunFunction | php | googleapis/google-cloud-php | GSuiteAddOns/external/protos/Docs/DocsExtensionPoint.php | https://github.com/googleapis/google-cloud-php/blob/master/GSuiteAddOns/external/protos/Docs/DocsExtensionPoint.php | Apache-2.0 |
public function setRunFunction($var)
{
GPBUtil::checkString($var, True);
$this->run_function = $var;
return $this;
} | Required. The endpoint to execute when this extension point is activated.
Generated from protobuf field <code>string run_function = 1 [(.google.api.field_behavior) = REQUIRED];</code>
@param string $var
@return $this | setRunFunction | php | googleapis/google-cloud-php | GSuiteAddOns/external/protos/Docs/DocsExtensionPoint.php | https://github.com/googleapis/google-cloud-php/blob/master/GSuiteAddOns/external/protos/Docs/DocsExtensionPoint.php | Apache-2.0 |
public function getName()
{
return $this->name;
} | Required. The BigQueryLink to delete.
Example format: properties/1234/bigQueryLinks/5678
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 | AnalyticsAdmin/src/V1alpha/DeleteBigQueryLinkRequest.php | https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/DeleteBigQueryLinkRequest.php | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.