Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus

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

The status of a deployment as reported by a single instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceDeploymentStatus

Returns a new instance of GoogleCloudApigeeV1InstanceDeploymentStatus.



3227
3228
3229
# File 'generated/google/apis/apigee_v1/classes.rb', line 3227

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

Instance Attribute Details

#deployed_revisionsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision>

Revisions currently deployed in MPs. Corresponds to the JSON property deployedRevisions



3214
3215
3216
# File 'generated/google/apis/apigee_v1/classes.rb', line 3214

def deployed_revisions
  @deployed_revisions
end

#deployed_routesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute>

The current routes deployed in the ingress routing table. A route which is missing will appear in missing_routes. Corresponds to the JSON property deployedRoutes



3220
3221
3222
# File 'generated/google/apis/apigee_v1/classes.rb', line 3220

def deployed_routes
  @deployed_routes
end

#instanceString

ID of the instance reporting the status. Corresponds to the JSON property instance

Returns:

  • (String)


3225
3226
3227
# File 'generated/google/apis/apigee_v1/classes.rb', line 3225

def instance
  @instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3232
3233
3234
3235
3236
# File 'generated/google/apis/apigee_v1/classes.rb', line 3232

def update!(**args)
  @deployed_revisions = args[:deployed_revisions] if args.key?(:deployed_revisions)
  @deployed_routes = args[:deployed_routes] if args.key?(:deployed_routes)
  @instance = args[:instance] if args.key?(:instance)
end