Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiProxy
- 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 the API proxy
Instance Attribute Summary collapse
-
#latest_revision_id ⇒ String
The id of the most recently created revision for this api proxy.
-
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata
Metadata common to many entities in this API.
-
#name ⇒ String
Name of the API proxy.
-
#revision ⇒ Array<String>
List of revisons defined for the API proxy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiProxy
constructor
A new instance of GoogleCloudApigeeV1ApiProxy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiProxy
Returns a new instance of GoogleCloudApigeeV1ApiProxy.
561 562 563 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 561 def initialize(**args) update!(**args) end |
Instance Attribute Details
#latest_revision_id ⇒ String
The id of the most recently created revision for this api proxy.
Corresponds to the JSON property latestRevisionId
544 545 546 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 544 def latest_revision_id @latest_revision_id end |
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata
Metadata common to many entities in this API.
Corresponds to the JSON property metaData
549 550 551 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 549 def @meta_data end |
#name ⇒ String
Name of the API proxy.
Corresponds to the JSON property name
554 555 556 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 554 def name @name end |
#revision ⇒ Array<String>
List of revisons defined for the API proxy.
Corresponds to the JSON property revision
559 560 561 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 559 def revision @revision end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
566 567 568 569 570 571 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 566 def update!(**args) @latest_revision_id = args[:latest_revision_id] if args.key?(:latest_revision_id) @meta_data = args[:meta_data] if args.key?(:meta_data) @name = args[:name] if args.key?(:name) @revision = args[:revision] if args.key?(:revision) end |