Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision

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

Overview

Revisions deployed in the MPs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision

Returns a new instance of GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision.


2916
2917
2918
# File 'generated/google/apis/apigee_v1/classes.rb', line 2916

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

Instance Attribute Details

#percentageFixnum

The percentage of MP replicas reporting this revision Corresponds to the JSON property percentage

Returns:

  • (Fixnum)

2909
2910
2911
# File 'generated/google/apis/apigee_v1/classes.rb', line 2909

def percentage
  @percentage
end

#revisionString

The proxy revision reported as deployed. Corresponds to the JSON property revision

Returns:

  • (String)

2914
2915
2916
# File 'generated/google/apis/apigee_v1/classes.rb', line 2914

def revision
  @revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2921
2922
2923
2924
# File 'generated/google/apis/apigee_v1/classes.rb', line 2921

def update!(**args)
  @percentage = args[:percentage] if args.key?(:percentage)
  @revision = args[:revision] if args.key?(:revision)
end