class Google::Apis::ComputeBeta::ProjectsGetXpnResources

Attributes

kind[RW]
Output Only

Type of resource. Always compute#projectsGetXpnResources for

lists of service resources (a.k.a service projects) Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]
Output Only

This token allows you to get the next page of results for list

requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. Corresponds to the JSON property `nextPageToken` @return [String]

resources[RW]

Service resources (a.k.a service projects) attached to this project as their shared VPC host. Corresponds to the JSON property `resources` @return [Array<Google::Apis::ComputeBeta::XpnResourceId>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 24970
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_beta/classes.rb, line 24975
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @resources = args[:resources] if args.key?(:resources)
end