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

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment

Returns a new instance of GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment.



2156
2157
2158
# File 'generated/google/apis/apigee_v1/classes.rb', line 2156

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)


2139
2140
2141
# File 'generated/google/apis/apigee_v1/classes.rb', line 2139

def api_proxy
  @api_proxy
end

#basepathString

The basepath receiving traffic. Corresponds to the JSON property basepath

Returns:

  • (String)


2144
2145
2146
# File 'generated/google/apis/apigee_v1/classes.rb', line 2144

def basepath
  @basepath
end

#environmentString

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

Returns:

  • (String)


2149
2150
2151
# File 'generated/google/apis/apigee_v1/classes.rb', line 2149

def environment
  @environment
end

#revisionString

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

Returns:

  • (String)


2154
2155
2156
# File 'generated/google/apis/apigee_v1/classes.rb', line 2154

def revision
  @revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2161
2162
2163
2164
2165
2166
# File 'generated/google/apis/apigee_v1/classes.rb', line 2161

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