@@ -48599,6 +48599,303 @@ def update!(**args)
4859948599 end
4860048600 end
4860148601
48602+ # Represents a reservation slot resource.
48603+ class ReservationSlot
48604+ include Google::Apis::Core::Hashable
48605+
48606+ # Output only. [Output Only] The creation timestamp, formatted asRFC3339 text.
48607+ # Corresponds to the JSON property `creationTimestamp`
48608+ # @return [String]
48609+ attr_accessor :creation_timestamp
48610+
48611+ # Output only. [Output Only] The unique identifier for this resource. This
48612+ # identifier is
48613+ # defined by the server.
48614+ # Corresponds to the JSON property `id`
48615+ # @return [Fixnum]
48616+ attr_accessor :id
48617+
48618+ # Output only. [Output Only] The type of resource. Alwayscompute#reservationSlot
48619+ # for reservation slots.
48620+ # Corresponds to the JSON property `kind`
48621+ # @return [String]
48622+ attr_accessor :kind
48623+
48624+ # Output only. [Output Only] The name of the reservation slot.
48625+ # Corresponds to the JSON property `name`
48626+ # @return [String]
48627+ attr_accessor :name
48628+
48629+ # Output only. [Output Only] The physical topology of the reservation slot.
48630+ # Corresponds to the JSON property `physicalTopology`
48631+ # @return [Google::Apis::ComputeBeta::ReservationSlotPhysicalTopology]
48632+ attr_accessor :physical_topology
48633+
48634+ # Output only. [Output Only] A server-defined fully-qualified URL for this
48635+ # resource.
48636+ # Corresponds to the JSON property `selfLink`
48637+ # @return [String]
48638+ attr_accessor :self_link
48639+
48640+ # Output only. [Output Only] A server-defined URL for this resource with the
48641+ # resource ID.
48642+ # Corresponds to the JSON property `selfLinkWithId`
48643+ # @return [String]
48644+ attr_accessor :self_link_with_id
48645+
48646+ # The share setting for reservations and sole tenancy node groups.
48647+ # Corresponds to the JSON property `shareSettings`
48648+ # @return [Google::Apis::ComputeBeta::ShareSettings]
48649+ attr_accessor :share_settings
48650+
48651+ # Output only. [Output Only] The state of the reservation slot.
48652+ # Corresponds to the JSON property `state`
48653+ # @return [String]
48654+ attr_accessor :state
48655+
48656+ # Output only. [Output Only] The status of the reservation slot.
48657+ # Corresponds to the JSON property `status`
48658+ # @return [Google::Apis::ComputeBeta::ReservationSlotStatus]
48659+ attr_accessor :status
48660+
48661+ # Output only. [Output Only] The zone in which the reservation slot resides.
48662+ # Corresponds to the JSON property `zone`
48663+ # @return [String]
48664+ attr_accessor :zone
48665+
48666+ def initialize(**args)
48667+ update!(**args)
48668+ end
48669+
48670+ # Update properties of this object
48671+ def update!(**args)
48672+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
48673+ @id = args[:id] if args.key?(:id)
48674+ @kind = args[:kind] if args.key?(:kind)
48675+ @name = args[:name] if args.key?(:name)
48676+ @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
48677+ @self_link = args[:self_link] if args.key?(:self_link)
48678+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
48679+ @share_settings = args[:share_settings] if args.key?(:share_settings)
48680+ @state = args[:state] if args.key?(:state)
48681+ @status = args[:status] if args.key?(:status)
48682+ @zone = args[:zone] if args.key?(:zone)
48683+ end
48684+ end
48685+
48686+ #
48687+ class ReservationSlotPhysicalTopology
48688+ include Google::Apis::Core::Hashable
48689+
48690+ # The unique identifier of the capacity block within the cluster.
48691+ # Corresponds to the JSON property `block`
48692+ # @return [String]
48693+ attr_accessor :block
48694+
48695+ # The cluster name of the reservation sub-block.
48696+ # Corresponds to the JSON property `cluster`
48697+ # @return [String]
48698+ attr_accessor :cluster
48699+
48700+ # The unique identifier of the capacity host within the capacity sub-block.
48701+ # Corresponds to the JSON property `host`
48702+ # @return [String]
48703+ attr_accessor :host
48704+
48705+ # The unique identifier of the capacity sub-block within the capacity
48706+ # block.
48707+ # Corresponds to the JSON property `subBlock`
48708+ # @return [String]
48709+ attr_accessor :sub_block
48710+
48711+ def initialize(**args)
48712+ update!(**args)
48713+ end
48714+
48715+ # Update properties of this object
48716+ def update!(**args)
48717+ @block = args[:block] if args.key?(:block)
48718+ @cluster = args[:cluster] if args.key?(:cluster)
48719+ @host = args[:host] if args.key?(:host)
48720+ @sub_block = args[:sub_block] if args.key?(:sub_block)
48721+ end
48722+ end
48723+
48724+ #
48725+ class ReservationSlotStatus
48726+ include Google::Apis::Core::Hashable
48727+
48728+ # Output only. [Output Only] The physical topology of the reservation sub-block.
48729+ # Corresponds to the JSON property `physicalTopology`
48730+ # @return [Google::Apis::ComputeBeta::ReservationSlotPhysicalTopology]
48731+ attr_accessor :physical_topology
48732+
48733+ # Output only. The RDMA IP address of the physical host.
48734+ # Corresponds to the JSON property `rdmaIpAddresses`
48735+ # @return [Array<String>]
48736+ attr_accessor :rdma_ip_addresses
48737+
48738+ # Output only. The URIs of the instances currently running on this slot.
48739+ # Corresponds to the JSON property `runningInstances`
48740+ # @return [Array<String>]
48741+ attr_accessor :running_instances
48742+
48743+ def initialize(**args)
48744+ update!(**args)
48745+ end
48746+
48747+ # Update properties of this object
48748+ def update!(**args)
48749+ @physical_topology = args[:physical_topology] if args.key?(:physical_topology)
48750+ @rdma_ip_addresses = args[:rdma_ip_addresses] if args.key?(:rdma_ip_addresses)
48751+ @running_instances = args[:running_instances] if args.key?(:running_instances)
48752+ end
48753+ end
48754+
48755+ #
48756+ class ReservationSlotsGetResponse
48757+ include Google::Apis::Core::Hashable
48758+
48759+ # Represents a reservation slot resource.
48760+ # Corresponds to the JSON property `resource`
48761+ # @return [Google::Apis::ComputeBeta::ReservationSlot]
48762+ attr_accessor :resource
48763+
48764+ def initialize(**args)
48765+ update!(**args)
48766+ end
48767+
48768+ # Update properties of this object
48769+ def update!(**args)
48770+ @resource = args[:resource] if args.key?(:resource)
48771+ end
48772+ end
48773+
48774+ # A list of reservation slots within a single reservation.
48775+ class ReservationSlotsListResponse
48776+ include Google::Apis::Core::Hashable
48777+
48778+ # The unique identifier for the resource; defined by the server.
48779+ # Corresponds to the JSON property `id`
48780+ # @return [String]
48781+ attr_accessor :id
48782+
48783+ # A list of reservation slot resources.
48784+ # Corresponds to the JSON property `items`
48785+ # @return [Array<Google::Apis::ComputeBeta::ReservationSlot>]
48786+ attr_accessor :items
48787+
48788+ # The type of resource. Alwayscompute#reservationSlot for a list of reservation
48789+ # slots.
48790+ # Corresponds to the JSON property `kind`
48791+ # @return [String]
48792+ attr_accessor :kind
48793+
48794+ # This token allows you to get the next page of results for
48795+ # list requests. If the number of results is larger thanmaxResults, use the
48796+ # nextPageToken as a value for
48797+ # the query parameter pageToken in the next list request.
48798+ # Subsequent list requests will have their own nextPageToken to
48799+ # continue paging through the results.
48800+ # Corresponds to the JSON property `nextPageToken`
48801+ # @return [String]
48802+ attr_accessor :next_page_token
48803+
48804+ # The server-defined URL for this resource.
48805+ # Corresponds to the JSON property `selfLink`
48806+ # @return [String]
48807+ attr_accessor :self_link
48808+
48809+ # An informational warning message.
48810+ # Corresponds to the JSON property `warning`
48811+ # @return [Google::Apis::ComputeBeta::ReservationSlotsListResponse::Warning]
48812+ attr_accessor :warning
48813+
48814+ def initialize(**args)
48815+ update!(**args)
48816+ end
48817+
48818+ # Update properties of this object
48819+ def update!(**args)
48820+ @id = args[:id] if args.key?(:id)
48821+ @items = args[:items] if args.key?(:items)
48822+ @kind = args[:kind] if args.key?(:kind)
48823+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
48824+ @self_link = args[:self_link] if args.key?(:self_link)
48825+ @warning = args[:warning] if args.key?(:warning)
48826+ end
48827+
48828+ # An informational warning message.
48829+ class Warning
48830+ include Google::Apis::Core::Hashable
48831+
48832+ # [Output Only] A warning code, if applicable. For example, Compute
48833+ # Engine returns NO_RESULTS_ON_PAGE if there
48834+ # are no results in the response.
48835+ # Corresponds to the JSON property `code`
48836+ # @return [String]
48837+ attr_accessor :code
48838+
48839+ # [Output Only] Metadata about this warning in key:
48840+ # value format. For example:
48841+ # "data": [
48842+ # `
48843+ # "key": "scope",
48844+ # "value": "zones/us-east1-d"
48845+ # `
48846+ # Corresponds to the JSON property `data`
48847+ # @return [Array<Google::Apis::ComputeBeta::ReservationSlotsListResponse::Warning::Datum>]
48848+ attr_accessor :data
48849+
48850+ # [Output Only] A human-readable description of the warning code.
48851+ # Corresponds to the JSON property `message`
48852+ # @return [String]
48853+ attr_accessor :message
48854+
48855+ def initialize(**args)
48856+ update!(**args)
48857+ end
48858+
48859+ # Update properties of this object
48860+ def update!(**args)
48861+ @code = args[:code] if args.key?(:code)
48862+ @data = args[:data] if args.key?(:data)
48863+ @message = args[:message] if args.key?(:message)
48864+ end
48865+
48866+ #
48867+ class Datum
48868+ include Google::Apis::Core::Hashable
48869+
48870+ # [Output Only] A key that provides more detail on the warning being
48871+ # returned. For example, for warnings where there are no results in a list
48872+ # request for a particular zone, this key might be scope and
48873+ # the key value might be the zone name. Other examples might be a key
48874+ # indicating a deprecated resource and a suggested replacement, or a
48875+ # warning about invalid network settings (for example, if an instance
48876+ # attempts to perform IP forwarding but is not enabled for IP forwarding).
48877+ # Corresponds to the JSON property `key`
48878+ # @return [String]
48879+ attr_accessor :key
48880+
48881+ # [Output Only] A warning data value corresponding to the key.
48882+ # Corresponds to the JSON property `value`
48883+ # @return [String]
48884+ attr_accessor :value
48885+
48886+ def initialize(**args)
48887+ update!(**args)
48888+ end
48889+
48890+ # Update properties of this object
48891+ def update!(**args)
48892+ @key = args[:key] if args.key?(:key)
48893+ @value = args[:value] if args.key?(:value)
48894+ end
48895+ end
48896+ end
48897+ end
48898+
4860248899 # Represents a reservation subBlock resource.
4860348900 class ReservationSubBlock
4860448901 include Google::Apis::Core::Hashable
0 commit comments