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

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

Overview

Tuple representing a base path and the deployment containing it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment

Returns a new instance of GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment.



3499
3500
3501
# File 'lib/google/apis/apigee_v1/classes.rb', line 3499

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

Instance Attribute Details

#api_proxyString

Name of the deployed API proxy revision containing the base path. Corresponds to the JSON property apiProxy

Returns:

  • (String)


3482
3483
3484
# File 'lib/google/apis/apigee_v1/classes.rb', line 3482

def api_proxy
  @api_proxy
end

#basepathString

Base path receiving traffic. Corresponds to the JSON property basepath

Returns:

  • (String)


3487
3488
3489
# File 'lib/google/apis/apigee_v1/classes.rb', line 3487

def basepath
  @basepath
end

#environmentString

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

Returns:

  • (String)


3492
3493
3494
# File 'lib/google/apis/apigee_v1/classes.rb', line 3492

def environment
  @environment
end

#revisionString

Name of the deployed API proxy revision containing the base path. Corresponds to the JSON property revision

Returns:

  • (String)


3497
3498
3499
# File 'lib/google/apis/apigee_v1/classes.rb', line 3497

def revision
  @revision
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3504
3505
3506
3507
3508
3509
# File 'lib/google/apis/apigee_v1/classes.rb', line 3504

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