Class: Google::Apis::OsconfigV2::GoogleCloudOsconfigV2ListPolicyOrchestratorsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v2/classes.rb,
lib/google/apis/osconfig_v2/representations.rb,
lib/google/apis/osconfig_v2/representations.rb

Overview

Response for the list policy orchestrator resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudOsconfigV2ListPolicyOrchestratorsResponse

Returns a new instance of GoogleCloudOsconfigV2ListPolicyOrchestratorsResponse.



485
486
487
# File 'lib/google/apis/osconfig_v2/classes.rb', line 485

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

Instance Attribute Details

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


473
474
475
# File 'lib/google/apis/osconfig_v2/classes.rb', line 473

def next_page_token
  @next_page_token
end

#policy_orchestratorsArray<Google::Apis::OsconfigV2::GoogleCloudOsconfigV2PolicyOrchestrator>

The policy orchestrators for the specified parent resource. Corresponds to the JSON property policyOrchestrators



478
479
480
# File 'lib/google/apis/osconfig_v2/classes.rb', line 478

def policy_orchestrators
  @policy_orchestrators
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


483
484
485
# File 'lib/google/apis/osconfig_v2/classes.rb', line 483

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



490
491
492
493
494
# File 'lib/google/apis/osconfig_v2/classes.rb', line 490

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