Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1OperationMetadata

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

Metadata describing an Operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1OperationMetadata

Returns a new instance of GoogleCloudApigeeV1OperationMetadata.



4284
4285
4286
# File 'lib/google/apis/apigee_v1/classes.rb', line 4284

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

Instance Attribute Details

#operation_typeString

Corresponds to the JSON property operationType

Returns:

  • (String)


4272
4273
4274
# File 'lib/google/apis/apigee_v1/classes.rb', line 4272

def operation_type
  @operation_type
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


4277
4278
4279
# File 'lib/google/apis/apigee_v1/classes.rb', line 4277

def state
  @state
end

#target_resource_nameString

Name of the resource for which the operation is operating on. Corresponds to the JSON property targetResourceName

Returns:

  • (String)


4282
4283
4284
# File 'lib/google/apis/apigee_v1/classes.rb', line 4282

def target_resource_name
  @target_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4289
4290
4291
4292
4293
# File 'lib/google/apis/apigee_v1/classes.rb', line 4289

def update!(**args)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @state = args[:state] if args.key?(:state)
  @target_resource_name = args[:target_resource_name] if args.key?(:target_resource_name)
end