Class: Google::Apis::ComputeV1::ProjectsListXpnHostsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProjectsListXpnHostsRequest

Returns a new instance of ProjectsListXpnHostsRequest.



28503
28504
28505
# File 'lib/google/apis/compute_v1/classes.rb', line 28503

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

Instance Attribute Details

#organizationString

Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project. Corresponds to the JSON property organization

Returns:

  • (String)


28501
28502
28503
# File 'lib/google/apis/compute_v1/classes.rb', line 28501

def organization
  @organization
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28508
28509
28510
# File 'lib/google/apis/compute_v1/classes.rb', line 28508

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