Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig
- 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
NEXT ID: 11
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.
-
#deployment_groups ⇒ Array<String>
The list of deployment groups in which this proxy should be deployed.
-
#endpoints ⇒ Hash<String,String>
A mapping from basepaths to proxy endpoint names in this proxy.
-
#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.
-
#service_account ⇒ String
The service account identity associated with this deployment.
-
#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.
3566 3567 3568 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3566 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
3519 3520 3521 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3519 def attributes @attributes end |
#base_path ⇒ String
Base path where the application will be hosted. Defaults to "/".
Corresponds to the JSON property basePath
3524 3525 3526 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3524 def base_path @base_path end |
#deployment_groups ⇒ Array<String>
The list of deployment groups in which this proxy should be deployed. Not
currently populated for shared flows.
Corresponds to the JSON property deploymentGroups
3530 3531 3532 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3530 def deployment_groups @deployment_groups end |
#endpoints ⇒ Hash<String,String>
A mapping from basepaths to proxy endpoint names in this proxy. Not populated
for shared flows.
Corresponds to the JSON property endpoints
3536 3537 3538 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3536 def endpoints @endpoints end |
#location ⇒ String
Location of the API proxy bundle as a URI.
Corresponds to the JSON property location
3541 3542 3543 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3541 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
3548 3549 3550 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3548 def name @name end |
#proxy_uid ⇒ String
Unique ID of the API proxy revision.
Corresponds to the JSON property proxyUid
3553 3554 3555 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3553 def proxy_uid @proxy_uid end |
#service_account ⇒ String
The service account identity associated with this deployment. If non-empty,
will be in the following format: projects/-/serviceAccounts/
account_email`
Corresponds to the JSON property
serviceAccount`
3559 3560 3561 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3559 def service_account @service_account end |
#uid ⇒ String
Unique ID. The ID will only change if the deployment is deleted and recreated.
Corresponds to the JSON property uid
3564 3565 3566 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3564 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3571 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @base_path = args[:base_path] if args.key?(:base_path) @deployment_groups = args[:deployment_groups] if args.key?(:deployment_groups) @endpoints = args[:endpoints] if args.key?(:endpoints) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @proxy_uid = args[:proxy_uid] if args.key?(:proxy_uid) @service_account = args[:service_account] if args.key?(:service_account) @uid = args[:uid] if args.key?(:uid) end |