Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentConfig

Returns a new instance of GoogleCloudApigeeV1DeploymentConfig.



2266
2267
2268
# File 'lib/google/apis/apigee_v1/classes.rb', line 2266

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#attributesHash<String,String>

Additional key-value metadata for the deployment. Corresponds to the JSON property attributes

Returns:

  • (Hash<String,String>)


2237
2238
2239
# File 'lib/google/apis/apigee_v1/classes.rb', line 2237

def attributes
  @attributes
end

#base_pathString

Base path where the application will be hosted. Defaults to "/". Corresponds to the JSON property basePath

Returns:

  • (String)


2242
2243
2244
# File 'lib/google/apis/apigee_v1/classes.rb', line 2242

def base_path
  @base_path
end

#locationString

Location of the API proxy bundle as a URI. Corresponds to the JSON property location

Returns:

  • (String)


2247
2248
2249
# File 'lib/google/apis/apigee_v1/classes.rb', line 2247

def location
  @location
end

#nameString

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

Returns:

  • (String)


2254
2255
2256
# File 'lib/google/apis/apigee_v1/classes.rb', line 2254

def name
  @name
end

#proxy_uidString

Unique ID of the API proxy revision. Corresponds to the JSON property proxyUid

Returns:

  • (String)


2259
2260
2261
# File 'lib/google/apis/apigee_v1/classes.rb', line 2259

def proxy_uid
  @proxy_uid
end

#uidString

Unique ID. The ID will only change if the deployment is deleted and recreated. Corresponds to the JSON property uid

Returns:

  • (String)


2264
2265
2266
# File 'lib/google/apis/apigee_v1/classes.rb', line 2264

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2271
2272
2273
2274
2275
2276
2277
2278
# File 'lib/google/apis/apigee_v1/classes.rb', line 2271

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