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
-
#labels ⇒ Hash<String,String>
User labels applied to this API Proxy.
-
#latest_revision_id ⇒ String
Output only.
-
#meta_data ⇒ Google::Apis::ApigeeV1::GoogleCloudApigeeV1EntityMetadata
Metadata common to many entities in this API.
-
#name ⇒ String
Output only.
-
#revision ⇒ Array<String>
Output only.
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.
668 669 670 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 668 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
User labels applied to this API Proxy.
Corresponds to the JSON property labels
646 647 648 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 646 def labels @labels end |
#latest_revision_id ⇒ String
Output only. The id of the most recently created revision for this api proxy.
Corresponds to the JSON property latestRevisionId
651 652 653 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 651 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
656 657 658 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 656 def @meta_data end |
#name ⇒ String
Output only. Name of the API proxy.
Corresponds to the JSON property name
661 662 663 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 661 def name @name end |
#revision ⇒ Array<String>
Output only. List of revisons defined for the API proxy.
Corresponds to the JSON property revision
666 667 668 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 666 def revision @revision end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
673 674 675 676 677 678 679 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 673 def update!(**args) @labels = args[:labels] if args.key?(:labels) @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 |