Class: Google::Apis::ApihubV1::GoogleCloudApihubV1MatchResult

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

Overview

MatchResult represents the result of matching a discovered API operation with a catalog API operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1MatchResult

Returns a new instance of GoogleCloudApihubV1MatchResult.



3409
3410
3411
# File 'lib/google/apis/apihub_v1/classes.rb', line 3409

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

Instance Attribute Details

#nameString

Output only. The name of the matched API Operation. Format: projects/project /locations/location/apis/api/versions/version/operations/operation` Corresponds to the JSON propertyname`

Returns:

  • (String)


3407
3408
3409
# File 'lib/google/apis/apihub_v1/classes.rb', line 3407

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3414
3415
3416
# File 'lib/google/apis/apihub_v1/classes.rb', line 3414

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