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: 9
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/`revCorresponds 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.
2649 2650 2651 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2649 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
2614 2615 2616 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2614 def attributes @attributes end |
#base_path ⇒ String
Base path where the application will be hosted. Defaults to "/".
Corresponds to the JSON property basePath
2619 2620 2621 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2619 def base_path @base_path end |
#location ⇒ String
Location of the API proxy bundle as a URI.
Corresponds to the JSON property location
2624 2625 2626 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2624 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
2631 2632 2633 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2631 def name @name end |
#proxy_uid ⇒ String
Unique ID of the API proxy revision.
Corresponds to the JSON property proxyUid
2636 2637 2638 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2636 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 propertyserviceAccount`
2642 2643 2644 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2642 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
2647 2648 2649 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2647 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2654 2655 2656 2657 2658 2659 2660 2661 2662 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2654 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) @service_account = args[:service_account] if args.key?(:service_account) @uid = args[:uid] if args.key?(:uid) end |