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.



2968
2969
2970
# File 'lib/google/apis/apigee_v1/classes.rb', line 2968

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)


2961
2962
2963
# File 'lib/google/apis/apigee_v1/classes.rb', line 2961

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



2966
2967
2968
# File 'lib/google/apis/apigee_v1/classes.rb', line 2966

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2973
2974
2975
2976
# File 'lib/google/apis/apigee_v1/classes.rb', line 2973

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