Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentGroupConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

DeploymentGroupConfig represents a deployment group that should be present in a particular environment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentGroupConfig

Returns a new instance of GoogleCloudApigeeV1DeploymentGroupConfig.



3656
3657
3658
# File 'lib/google/apis/apigee_v1/classes.rb', line 3656

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deployment_group_typeString

Type of the deployment group, which will be either Standard or Extensible. Corresponds to the JSON property deploymentGroupType

Returns:

  • (String)


3636
3637
3638
# File 'lib/google/apis/apigee_v1/classes.rb', line 3636

def deployment_group_type
  @deployment_group_type
end

#nameString

Name of the deployment group in the following format: organizations/org/ environments/env/deploymentGroups/group`. Corresponds to the JSON propertyname`

Returns:

  • (String)


3642
3643
3644
# File 'lib/google/apis/apigee_v1/classes.rb', line 3642

def name
  @name
end

#revision_idFixnum

Revision number which can be used by the runtime to detect if the deployment group has changed between two versions. Corresponds to the JSON property revisionId

Returns:

  • (Fixnum)


3648
3649
3650
# File 'lib/google/apis/apigee_v1/classes.rb', line 3648

def revision_id
  @revision_id
end

#uidString

Unique ID. The ID will only change if the deployment group is deleted and recreated. Corresponds to the JSON property uid

Returns:

  • (String)


3654
3655
3656
# File 'lib/google/apis/apigee_v1/classes.rb', line 3654

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3661
3662
3663
3664
3665
3666
# File 'lib/google/apis/apigee_v1/classes.rb', line 3661

def update!(**args)
  @deployment_group_type = args[:deployment_group_type] if args.key?(:deployment_group_type)
  @name = args[:name] if args.key?(:name)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @uid = args[:uid] if args.key?(:uid)
end