class Google::Apis::ManagerV1beta2::Deployment

A deployment represents a physical instantiation of a Template.

Attributes

creation_date[RW]
Output Only

The time when this deployment was created.

Corresponds to the JSON property `creationDate` @return [String]

description[RW]

A user-supplied description of this Deployment. Corresponds to the JSON property `description` @return [String]

modules[RW]
Output Only

List of status for the modules in this deployment.

Corresponds to the JSON property `modules` @return [Hash<String,Google::Apis::ManagerV1beta2::ModuleStatus>]

name[RW]

Name of this deployment. The name must conform to the following regular expression: [a-zA-Z0-9-_]`1,64` Corresponds to the JSON property `name` @return [String]

overrides[RW]

The set of parameter overrides to apply to the corresponding Template before deploying. Corresponds to the JSON property `overrides` @return [Array<Google::Apis::ManagerV1beta2::ParamOverride>]

state[RW]
Output Only

The current state of a replica or module.

Corresponds to the JSON property `state` @return [Google::Apis::ManagerV1beta2::DeployState]

template_name[RW]

The name of the Template on which this deployment is based. Corresponds to the JSON property `templateName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 257
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/manager_v1beta2/classes.rb, line 262
def update!(**args)
  @creation_date = args[:creation_date] if args.key?(:creation_date)
  @description = args[:description] if args.key?(:description)
  @modules = args[:modules] if args.key?(:modules)
  @name = args[:name] if args.key?(:name)
  @overrides = args[:overrides] if args.key?(:overrides)
  @state = args[:state] if args.key?(:state)
  @template_name = args[:template_name] if args.key?(:template_name)
end