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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentConfig

Returns a new instance of GoogleCloudApigeeV1DeploymentConfig.



1599
1600
1601
# File 'generated/google/apis/apigee_v1/classes.rb', line 1599

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

Instance Attribute Details

#attributesHash<String,String>

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

Returns:

  • (Hash<String,String>)


1579
1580
1581
# File 'generated/google/apis/apigee_v1/classes.rb', line 1579

def attributes
  @attributes
end

#base_pathString

Base path where the application needs to be hosted. Default value is assumed to be "/". Corresponds to the JSON property basePath

Returns:

  • (String)


1585
1586
1587
# File 'generated/google/apis/apigee_v1/classes.rb', line 1585

def base_path
  @base_path
end

#locationString

The location of the proxy bundle, as a uri. Corresponds to the JSON property location

Returns:

  • (String)


1590
1591
1592
# File 'generated/google/apis/apigee_v1/classes.rb', line 1590

def location
  @location
end

#nameString

The name of the API or shared flow revision to be deployed. Must be of the form 'organizations/org/apis/api/revisions/rev' or 'organizations/org/sharedflows/sf/revisions/rev'. Corresponds to the JSON property name

Returns:

  • (String)


1597
1598
1599
# File 'generated/google/apis/apigee_v1/classes.rb', line 1597

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1604
1605
1606
1607
1608
1609
# File 'generated/google/apis/apigee_v1/classes.rb', line 1604

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)
end