This message defines core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a file stored on a network storage service.
Generated from protobuf message google.rpc.context.AttributeContext.Resource
Methods |
public __construct( $data = NULL) Constructor.
|
public clearCreateTime() |
public clearDeleteTime() |
public clearUpdateTime() |
public getAnnotations() Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ Generated from protobuf field map<string, string> annotations = 6;
|
public getCreateTime() Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed. Generated from protobuf field .google.protobuf.Timestamp create_time = 8;
|
public getDeleteTime() Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty. Generated from protobuf field .google.protobuf.Timestamp delete_time = 10;
|
public getDisplayName() Mutable. The display name set by clients. Must be <= 63 characters. Generated from protobuf field string display_name = 7;
|
public getEtag() Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. Generated from protobuf field string etag = 11;
|
public getLabels() The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels. Generated from protobuf field map<string, string> labels = 4;
|
public getLocation() Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud
APIs, such as Generated from protobuf field string location = 12;
|
public getName() The stable identifier (name) of a resource on the The differences between a resource name and a URI are:
Generated from protobuf field string name = 2;
|
public getService() The name of the service that this resource belongs to, such as
Generated from protobuf field string service = 1;
|
public getType() The type of the resource. The syntax is platform-specific because different platforms define their resources differently. For Google APIs, the type format must be "{service}/{kind}", such as "pubsub.googleapis.com/Topic". Generated from protobuf field string type = 3;
|
public getUid() The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4. Generated from protobuf field string uid = 5;
|
public getUpdateTime() Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value. Generated from protobuf field .google.protobuf.Timestamp update_time = 9;
|
public hasCreateTime() |
public hasDeleteTime() |
public hasUpdateTime() |
public setAnnotations( $var) Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ Generated from protobuf field map<string, string> annotations = 6;
|
public setCreateTime( $var) Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed. Generated from protobuf field .google.protobuf.Timestamp create_time = 8;
|
public setDeleteTime( $var) Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty. Generated from protobuf field .google.protobuf.Timestamp delete_time = 10;
|
public setDisplayName( $var) Mutable. The display name set by clients. Must be <= 63 characters. Generated from protobuf field string display_name = 7;
|
public setEtag( $var) Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. Generated from protobuf field string etag = 11;
|
public setLabels( $var) The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels. Generated from protobuf field map<string, string> labels = 4;
|
public setLocation( $var) Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud
APIs, such as Generated from protobuf field string location = 12;
|
public setName( $var) The stable identifier (name) of a resource on the The differences between a resource name and a URI are:
Generated from protobuf field string name = 2;
|
public setService( $var) The name of the service that this resource belongs to, such as
Generated from protobuf field string service = 1;
|
public setType( $var) The type of the resource. The syntax is platform-specific because different platforms define their resources differently. For Google APIs, the type format must be "{service}/{kind}", such as "pubsub.googleapis.com/Topic". Generated from protobuf field string type = 3;
|
public setUid( $var) The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4. Generated from protobuf field string uid = 5;
|
public setUpdateTime( $var) Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value. Generated from protobuf field .google.protobuf.Timestamp update_time = 9;
|
Properties |
protected $create_time = NULL Output only. The timestamp when the resource was created. This may be either the time creation was initiated or when it was completed. Generated from protobuf field .google.protobuf.Timestamp create_time = 8; |
protected $delete_time = NULL Output only. The timestamp when the resource was deleted. If the resource is not deleted, this must be empty. Generated from protobuf field .google.protobuf.Timestamp delete_time = 10; |
protected $display_name = '' Mutable. The display name set by clients. Must be <= 63 characters. Generated from protobuf field string display_name = 7; |
protected $etag = '' Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written. Generated from protobuf field string etag = 11; |
protected $location = '' Immutable. The location of the resource. The location encoding is specific to the service provider, and new encoding may be introduced as the service evolves. For Google Cloud products, the encoding is what is used by Google Cloud
APIs, such as Generated from protobuf field string location = 12; |
protected $name = '' The stable identifier (name) of a resource on the The differences between a resource name and a URI are:
Generated from protobuf field string name = 2; |
protected $service = '' The name of the service that this resource belongs to, such as
Generated from protobuf field string service = 1; |
protected $type = '' The type of the resource. The syntax is platform-specific because different platforms define their resources differently. For Google APIs, the type format must be "{service}/{kind}", such as "pubsub.googleapis.com/Topic". Generated from protobuf field string type = 3; |
protected $uid = '' The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4. Generated from protobuf field string uid = 5; |
protected $update_time = NULL Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value. Generated from protobuf field .google.protobuf.Timestamp update_time = 9; |
Methods |
Properties |
private $annotations = NULL Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ Generated from protobuf field map<string, string> annotations = 6; |
private $labels = NULL The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels. Generated from protobuf field map<string, string> labels = 4; |