class Google::Apis::RuntimeconfigV1beta1::RuntimeConfig

A RuntimeConfig resource is the primary resource in the Cloud RuntimeConfig service. A RuntimeConfig resource consists of metadata and a hierarchy of variables.

Attributes

description[RW]

An optional description of the RuntimeConfig object. Corresponds to the JSON property `description` @return [String]

name[RW]

The resource name of a runtime config. The name must have the format: projects//configs/ The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an arbitrary name that matches RFC 1035 segment specification. The length of `[CONFIG_NAME]` must be less than 64 bytes. 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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/rcloadenv/google/apis/runtimeconfig_v1beta1/classes.rb, line 371
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/rcloadenv/google/apis/runtimeconfig_v1beta1/classes.rb, line 376
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @description = args[:description] if args.key?(:description)
end