Class: Google::Cloud::Profiler::V2::Deployment
- Inherits:
-
Object
- Object
- Google::Cloud::Profiler::V2::Deployment
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/cloudprofiler/v2/profiler.rb
Overview
Deployment contains the deployment identification information.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels identify the deployment within the user universe and same target.
-
#project_id ⇒ ::String
Project ID is the ID of a cloud project.
-
#target ⇒ ::String
Target is the service name used to group related deployments: * Service name for App Engine Flex / Standard.
Instance Attribute Details
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels identify the deployment within the user universe and same target.
Validation regex for label names: ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$
.
Value for an individual label must be <= 512 bytes, the total
size of all label names and values must be <= 1024 bytes.
Label named "language" can be used to record the programming language of the profiled deployment. The standard choices for the value include "java", "go", "python", "ruby", "nodejs", "php", "dotnet".
For deployments running on Google Cloud Platform, "zone" or "region" label should be present describing the deployment location. An example of a zone is "us-central1-a", an example of a region is "us-central1" or "us-central".
145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'proto_docs/google/devtools/cloudprofiler/v2/profiler.rb', line 145 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#project_id ⇒ ::String
Returns Project ID is the ID of a cloud project.
Validation regex: ^[a-z][-a-z0-9:.]{4,61}[a-z0-9]$
.
145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'proto_docs/google/devtools/cloudprofiler/v2/profiler.rb', line 145 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#target ⇒ ::String
Returns Target is the service name used to group related deployments:
- Service name for App Engine Flex / Standard.
- Cluster and container name for GKE.
- User-specified string for direct Compute Engine profiling (e.g. Java).
- Job name for Dataflow.
Validation regex:
^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$
.
145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'proto_docs/google/devtools/cloudprofiler/v2/profiler.rb', line 145 class Deployment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |