Class: Google::Apis::ApihubV1::GoogleCloudApihubV1DependencyEntityReference

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

Reference to an entity participating in a dependency.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApihubV1DependencyEntityReference

Returns a new instance of GoogleCloudApihubV1DependencyEntityReference.



1646
1647
1648
# File 'lib/google/apis/apihub_v1/classes.rb', line 1646

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

Instance Attribute Details

#display_nameString

Output only. Display name of the entity. Corresponds to the JSON property displayName

Returns:

  • (String)


1632
1633
1634
# File 'lib/google/apis/apihub_v1/classes.rb', line 1632

def display_name
  @display_name
end

#external_api_resource_nameString

The resource name of an external API in the API Hub. Format: projects/ project/locations/location/externalApis/external_api` Corresponds to the JSON propertyexternalApiResourceName`

Returns:

  • (String)


1638
1639
1640
# File 'lib/google/apis/apihub_v1/classes.rb', line 1638

def external_api_resource_name
  @external_api_resource_name
end

#operation_resource_nameString

The resource name of an operation in the API Hub. Format: projects/project/ locations/location/apis/api/versions/version/operations/operation` Corresponds to the JSON propertyoperationResourceName`

Returns:

  • (String)


1644
1645
1646
# File 'lib/google/apis/apihub_v1/classes.rb', line 1644

def operation_resource_name
  @operation_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1651
1652
1653
1654
1655
# File 'lib/google/apis/apihub_v1/classes.rb', line 1651

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