Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class Instance.
A resource that represents a Secure Source Manager instance.
Generated from protobuf messagegoogle.cloud.securesourcemanager.v1.Instance
Namespace
Google \ Cloud \ SecureSourceManager \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Optional. A unique identifier for an instance. The name should be of the format:projects/{project_number}/locations/{location_id}/instances/{instance_id}project_number: Maps to a unique int64 id assigned to each project.location_id: Refers to the region where the instance will be deployed. Since Secure Source Manager is a regional service, it must be one of the valid GCP regions.instance_id: User provided name for the instance, must be unique for a project_number and location_id combination.
Optional. Configuration for Workforce Identity Federation to support third party identity provider. If unset, defaults to the Google OIDC IdP.
getName
Optional. A unique identifier for an instance. The name should be of the
format:projects/{project_number}/locations/{location_id}/instances/{instance_id}project_number: Maps to a unique int64 id assigned to each project.
location_id: Refers to the region where the instance will be deployed.
Since Secure Source Manager is a regional service, it must be one of the
valid GCP regions.instance_id: User provided name for the instance, must be unique for a
project_number and location_id combination.
Returns
Type
Description
string
setName
Optional. A unique identifier for an instance. The name should be of the
format:projects/{project_number}/locations/{location_id}/instances/{instance_id}project_number: Maps to a unique int64 id assigned to each project.
location_id: Refers to the region where the instance will be deployed.
Since Secure Source Manager is a regional service, it must be one of the
valid GCP regions.instance_id: User provided name for the instance, must be unique for a
project_number and location_id combination.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Secure Source Manager V1 Client - Class Instance (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/php/docs/reference/cloud-securesourcemanager/latest/V1.Instance)\n- [1.4.1](/php/docs/reference/cloud-securesourcemanager/1.4.1/V1.Instance)\n- [1.3.3](/php/docs/reference/cloud-securesourcemanager/1.3.3/V1.Instance)\n- [1.2.0](/php/docs/reference/cloud-securesourcemanager/1.2.0/V1.Instance)\n- [1.1.0](/php/docs/reference/cloud-securesourcemanager/1.1.0/V1.Instance)\n- [1.0.0](/php/docs/reference/cloud-securesourcemanager/1.0.0/V1.Instance)\n- [0.2.5](/php/docs/reference/cloud-securesourcemanager/0.2.5/V1.Instance)\n- [0.1.0](/php/docs/reference/cloud-securesourcemanager/0.1.0/V1.Instance) \nReference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class Instance.\n\nA resource that represents a Secure Source Manager instance.\n\nGenerated from protobuf message `google.cloud.securesourcemanager.v1.Instance`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecureSourceManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOptional. A unique identifier for an instance. The name should be of the\nformat:\n`projects/{project_number}/locations/{location_id}/instances/{instance_id}`\n`project_number`: Maps to a unique int64 id assigned to each project.\n\n`location_id`: Refers to the region where the instance will be deployed.\nSince Secure Source Manager is a regional service, it must be one of the\nvalid GCP regions.\n`instance_id`: User provided name for the instance, must be unique for a\nproject_number and location_id combination.\n\n### setName\n\nOptional. A unique identifier for an instance. The name should be of the\nformat:\n`projects/{project_number}/locations/{location_id}/instances/{instance_id}`\n`project_number`: Maps to a unique int64 id assigned to each project.\n\n`location_id`: Refers to the region where the instance will be deployed.\nSince Secure Source Manager is a regional service, it must be one of the\nvalid GCP regions.\n`instance_id`: User provided name for the instance, must be unique for a\nproject_number and location_id combination.\n\n### getCreateTime\n\nOutput only. Create timestamp.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Create timestamp.\n\n### getUpdateTime\n\nOutput only. Update timestamp.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Update timestamp.\n\n### getLabels\n\nOptional. Labels as key value pairs.\n\n### setLabels\n\nOptional. Labels as key value pairs.\n\n### getPrivateConfig\n\nOptional. Private settings for private instance.\n\n### hasPrivateConfig\n\n### clearPrivateConfig\n\n### setPrivateConfig\n\nOptional. Private settings for private instance.\n\n### getState\n\nOutput only. Current state of the instance.\n\n### setState\n\nOutput only. Current state of the instance.\n\n### getStateNote\n\nOutput only. An optional field providing information about the current\ninstance state.\n\n### setStateNote\n\nOutput only. An optional field providing information about the current\ninstance state.\n\n### getKmsKey\n\nOptional. Immutable. Customer-managed encryption key name, in the format\nprojects/*/locations/* /keyRings/*/cryptoKeys/*.\n\n### setKmsKey\n\nOptional. Immutable. Customer-managed encryption key name, in the format\nprojects/*/locations/* /keyRings/*/cryptoKeys/*.\n\n### getHostConfig\n\nOutput only. A list of hostnames for this instance.\n\n### hasHostConfig\n\n### clearHostConfig\n\n### setHostConfig\n\nOutput only. A list of hostnames for this instance.\n\n### getWorkforceIdentityFederationConfig\n\nOptional. Configuration for Workforce Identity Federation to support\nthird party identity provider. If unset, defaults to the Google OIDC IdP.\n\n### hasWorkforceIdentityFederationConfig\n\n### clearWorkforceIdentityFederationConfig\n\n### setWorkforceIdentityFederationConfig\n\nOptional. Configuration for Workforce Identity Federation to support\nthird party identity provider. If unset, defaults to the Google OIDC IdP."]]