Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Additional key-value metadata for the deployment.
-
#base_path ⇒ String
Base path where the application will be hosted.
-
#location ⇒ String
Location of the API proxy bundle as a URI.
-
#name ⇒ String
Name of the API or shared flow revision to be deployed in the following format:
organizations/
org/apis/
api/revisions/
revor `organizations/`org`/ sharedflows/`sharedflow`/revisions/`rev
Corresponds to the JSON propertyname
. -
#proxy_uid ⇒ String
Unique ID of the API proxy revision.
-
#uid ⇒ String
Unique ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentConfig
constructor
A new instance of GoogleCloudApigeeV1DeploymentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentConfig
Returns a new instance of GoogleCloudApigeeV1DeploymentConfig.
2205 2206 2207 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Additional key-value metadata for the deployment.
Corresponds to the JSON property attributes
2176 2177 2178 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2176 def attributes @attributes end |
#base_path ⇒ String
Base path where the application will be hosted. Defaults to "/".
Corresponds to the JSON property basePath
2181 2182 2183 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2181 def base_path @base_path end |
#location ⇒ String
Location of the API proxy bundle as a URI.
Corresponds to the JSON property location
2186 2187 2188 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2186 def location @location end |
#name ⇒ String
Name of the API or shared flow revision to be deployed in the following format:
organizations/
org/apis/
api/revisions/
revor `organizations/`org`/
sharedflows/`sharedflow`/revisions/`rev
Corresponds to the JSON property name
2193 2194 2195 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2193 def name @name end |
#proxy_uid ⇒ String
Unique ID of the API proxy revision.
Corresponds to the JSON property proxyUid
2198 2199 2200 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2198 def proxy_uid @proxy_uid end |
#uid ⇒ String
Unique ID. The ID will only change if the deployment is deleted and recreated.
Corresponds to the JSON property uid
2203 2204 2205 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2203 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2210 2211 2212 2213 2214 2215 2216 2217 |
# File 'generated/google/apis/apigee_v1/classes.rb', line 2210 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @base_path = args[:base_path] if args.key?(:base_path) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid) @uid = args[:uid] if args.key?(:uid) end |