Class: Google::Apis::RuntimeconfigV1beta1::RuntimeConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::RuntimeconfigV1beta1::RuntimeConfig
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/runtimeconfig_v1beta1/classes.rb,
 generated/google/apis/runtimeconfig_v1beta1/representations.rb,
 generated/google/apis/runtimeconfig_v1beta1/representations.rb
Overview
A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig service. A RuntimeConfig resource consists of metadata and a hierarchy of variables.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An optional description of the RuntimeConfig object. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The resource name of a runtime config. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RuntimeConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RuntimeConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RuntimeConfig
Returns a new instance of RuntimeConfig
| 440 441 442 | # File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 440 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
An optional description of the RuntimeConfig object.
Corresponds to the JSON property description
| 425 426 427 | # File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 425 def description @description end | 
#name ⇒ String
The resource name of a runtime config. The name must have the format:
projects/[PROJECT_ID]/configs/[CONFIG_NAME]
The [PROJECT_ID] must be a valid project ID, and [CONFIG_NAME] is an
arbitrary name that matches the
[0-9A-Za-z](?:[_.A-Za-z0-9-]0,62[_.A-Za-z0-9])? regular expression.
The length of [CONFIG_NAME] must be less than 64 characters.
You pick the RuntimeConfig resource name, but the server will validate that
the name adheres to this format. After you create the resource, you cannot
change the resource's name.
Corresponds to the JSON property name
| 438 439 440 | # File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 438 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 445 446 447 448 | # File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 445 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) end |