Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment

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

Overview

A tuple representing a basepath and the deployment containing it.

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) ⇒ GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment

Returns a new instance of GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment.


1834
1835
1836
# File 'generated/google/apis/apigee_v1/classes.rb', line 1834

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

Instance Attribute Details

#api_proxyString

The name of the deployed proxy revision containing the basepath. Corresponds to the JSON property apiProxy

Returns:

  • (String)

1817
1818
1819
# File 'generated/google/apis/apigee_v1/classes.rb', line 1817

def api_proxy
  @api_proxy
end

#basepathString

The basepath receiving traffic. Corresponds to the JSON property basepath

Returns:

  • (String)

1822
1823
1824
# File 'generated/google/apis/apigee_v1/classes.rb', line 1822

def basepath
  @basepath
end

#environmentString

The name of the environment in which the proxy is deployed. Corresponds to the JSON property environment

Returns:

  • (String)

1827
1828
1829
# File 'generated/google/apis/apigee_v1/classes.rb', line 1827

def environment
  @environment
end

#revisionString

The name of the deployed proxy revision containing the basepath. Corresponds to the JSON property revision

Returns:

  • (String)

1832
1833
1834
# File 'generated/google/apis/apigee_v1/classes.rb', line 1832

def revision
  @revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1839
1840
1841
1842
1843
1844
# File 'generated/google/apis/apigee_v1/classes.rb', line 1839

def update!(**args)
  @api_proxy = args[:api_proxy] if args.key?(:api_proxy)
  @basepath = args[:basepath] if args.key?(:basepath)
  @environment = args[:environment] if args.key?(:environment)
  @revision = args[:revision] if args.key?(:revision)
end