class Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus

The status of a resource loaded in the runtime.

Attributes

resource[RW]

The resource name. Currently only two resources are supported: EnvironmentGroup - organizations/`org`/envgroups/`envgroup` EnvironmentConfig - organizations/`org`/environments/`environment`/deployedConfig Corresponds to the JSON property `resource` @return [String]

revisions[RW]

Revisions of the resource currently deployed in the instance. Corresponds to the JSON property `revisions` @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus>]

total_replicas[RW]

The total number of replicas that should have this resource. Corresponds to the JSON property `totalReplicas` @return [Fixnum]

uid[RW]

The uid of the resource. In the unexpected case that the instance has multiple uids for the same name, they should be reported under separate ResourceStatuses. Corresponds to the JSON property `uid` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 5984
def update!(**args)
  @resource = args[:resource] if args.key?(:resource)
  @revisions = args[:revisions] if args.key?(:revisions)
  @total_replicas = args[:total_replicas] if args.key?(:total_replicas)
  @uid = args[:uid] if args.key?(:uid)
end