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
-
#api_proxy_type ⇒ String
Output only.
-
#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.
-
#read_only ⇒ Boolean
(also: #read_only?)
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.
1115 1116 1117 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_proxy_type ⇒ String
Output only. The type of the API proxy.
Corresponds to the JSON property apiProxyType
1080 1081 1082 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1080 def api_proxy_type @api_proxy_type end |
#labels ⇒ Hash<String,String>
User labels applied to this API Proxy.
Corresponds to the JSON property labels
1085 1086 1087 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1085 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
1090 1091 1092 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1090 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
1095 1096 1097 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1095 def @meta_data end |
#name ⇒ String
Output only. Name of the API proxy.
Corresponds to the JSON property name
1100 1101 1102 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1100 def name @name end |
#read_only ⇒ Boolean Also known as: read_only?
Output only. Whether this proxy is read-only. A read-only proxy cannot have
new revisions created through calls to CreateApiProxyRevision. A proxy is read-
only if it was generated by an archive.
Corresponds to the JSON property readOnly
1107 1108 1109 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1107 def read_only @read_only end |
#revision ⇒ Array<String>
Output only. List of revisions defined for the API proxy.
Corresponds to the JSON property revision
1113 1114 1115 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1113 def revision @revision end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1120 1121 1122 1123 1124 1125 1126 1127 1128 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 1120 def update!(**args) @api_proxy_type = args[:api_proxy_type] if args.key?(:api_proxy_type) @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) @read_only = args[:read_only] if args.key?(:read_only) @revision = args[:revision] if args.key?(:revision) end |