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.



1965
1966
1967
# File 'lib/google/apis/apigee_v1/classes.rb', line 1965

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)


1958
1959
1960
# File 'lib/google/apis/apigee_v1/classes.rb', line 1958

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



1963
1964
1965
# File 'lib/google/apis/apigee_v1/classes.rb', line 1963

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1970
1971
1972
1973
# File 'lib/google/apis/apigee_v1/classes.rb', line 1970

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