Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ComputeEnvironmentScoresResponse

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

Response for ComputeEnvironmentScores.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ComputeEnvironmentScoresResponse

Returns a new instance of GoogleCloudApigeeV1ComputeEnvironmentScoresResponse.



2503
2504
2505
# File 'lib/google/apis/apigee_v1/classes.rb', line 2503

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

Instance Attribute Details

#next_page_tokenString

A page token, received from a previous ComputeScore call. Provide this to retrieve the subsequent page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2496
2497
2498
# File 'lib/google/apis/apigee_v1/classes.rb', line 2496

def next_page_token
  @next_page_token
end

#scoresArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Score>

List of scores. One score per day. Corresponds to the JSON property scores



2501
2502
2503
# File 'lib/google/apis/apigee_v1/classes.rb', line 2501

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2508
2509
2510
2511
# File 'lib/google/apis/apigee_v1/classes.rb', line 2508

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @scores = args[:scores] if args.key?(:scores)
end