google-apis-compute_alpha 0.40.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab2bf3aa21b91055ca96f8cef8e3c602dff7d6bf0bb54d3691505cdf86b8c74f
4
- data.tar.gz: 8fb34215ad09600c4cff44cc512076e78b943f3bfb74af75bee8676585f01fb7
3
+ metadata.gz: 573665ff6e883681b71d58ab1c72884ae0481f5f2247e1d135cf41d37182c271
4
+ data.tar.gz: ced53983fe53b89fc254ca896d534ffdc953083209df47b958f29ca2b46bf3f0
5
5
  SHA512:
6
- metadata.gz: 43e470bcf5fccb84dd9dbe7ae2509ad6cfa768470fe0de37a196fd2ee004a28fba3a6172946c63baf7621c5d3126811de6485d481929be5aff4d598609e78305
7
- data.tar.gz: fed56de56c592a6f217f9bbc8b6e2c976f753f7fcc9386c5241e9fac8f1c48f18b0aec1c2467cbbdb25becd7de3a17234c1d0656f906524b8d14487af1308627
6
+ metadata.gz: fa04a109d7abf315a6514f5f75a616e27b10084671f303249bc829d0d5348caac66988ed1ae56576626c928a5cffc5bbb3e6cadc752ed82419c083286bcf529e
7
+ data.tar.gz: abff6c98444ba942d7019233cbf83a2a6d5a8a2e2b48758fc9724408c687d8a542082d67e4d027a1bfac84fbaaea5cefa6b8e19b800897577cba40489d6b561c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.41.0 (2022-07-04)
4
+
5
+ * Regenerated from discovery document revision 20220621
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.40.0 (2022-07-01)
4
9
 
5
10
  * Regenerated using generator version 0.8.0
@@ -21418,6 +21418,268 @@ module Google
21418
21418
  end
21419
21419
  end
21420
21420
 
21421
+ # Represents an Cross-Cloud Interconnect Remote Location resource. You can use
21422
+ # this resource to find remote location details about an Interconnect attachment
21423
+ # (VLAN).
21424
+ class InterconnectRemoteLocation
21425
+ include Google::Apis::Core::Hashable
21426
+
21427
+ # [Output Only] The postal address of the Point of Presence, each line in the
21428
+ # address is separated by a newline character.
21429
+ # Corresponds to the JSON property `address`
21430
+ # @return [String]
21431
+ attr_accessor :address
21432
+
21433
+ # [Output Only] Metropolitan area designator that indicates which city an
21434
+ # interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands".
21435
+ # Corresponds to the JSON property `city`
21436
+ # @return [String]
21437
+ attr_accessor :city
21438
+
21439
+ # [Output Only] Continent for this location, which can take one of the following
21440
+ # values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA
21441
+ # Corresponds to the JSON property `continent`
21442
+ # @return [String]
21443
+ attr_accessor :continent
21444
+
21445
+ # [Output Only] Creation timestamp in RFC3339 text format.
21446
+ # Corresponds to the JSON property `creationTimestamp`
21447
+ # @return [String]
21448
+ attr_accessor :creation_timestamp
21449
+
21450
+ # [Output Only] An optional description of the resource.
21451
+ # Corresponds to the JSON property `description`
21452
+ # @return [String]
21453
+ attr_accessor :description
21454
+
21455
+ # [Output Only] The name of the provider for this facility (e.g., EQUINIX).
21456
+ # Corresponds to the JSON property `facilityProvider`
21457
+ # @return [String]
21458
+ attr_accessor :facility_provider
21459
+
21460
+ # [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-
21461
+ # DC1).
21462
+ # Corresponds to the JSON property `facilityProviderFacilityId`
21463
+ # @return [String]
21464
+ attr_accessor :facility_provider_facility_id
21465
+
21466
+ # [Output Only] The unique identifier for the resource. This identifier is
21467
+ # defined by the server.
21468
+ # Corresponds to the JSON property `id`
21469
+ # @return [Fixnum]
21470
+ attr_accessor :id
21471
+
21472
+ # [Output Only] Type of the resource. Always compute#interconnectRemoteLocation
21473
+ # for interconnect remote locations.
21474
+ # Corresponds to the JSON property `kind`
21475
+ # @return [String]
21476
+ attr_accessor :kind
21477
+
21478
+ # [Output Only] Name of the resource.
21479
+ # Corresponds to the JSON property `name`
21480
+ # @return [String]
21481
+ attr_accessor :name
21482
+
21483
+ # [Output Only] The peeringdb identifier for this facility (corresponding with a
21484
+ # netfac type in peeringdb).
21485
+ # Corresponds to the JSON property `peeringdbFacilityId`
21486
+ # @return [String]
21487
+ attr_accessor :peeringdb_facility_id
21488
+
21489
+ # [Output-only] Permitted connections.
21490
+ # Corresponds to the JSON property `permittedConnections`
21491
+ # @return [Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections]
21492
+ attr_accessor :permitted_connections
21493
+
21494
+ # [Output Only] Indicates the service provider present at the remote location.
21495
+ # Example values: "Amazon Web Services", "Microsoft Azure".
21496
+ # Corresponds to the JSON property `remoteService`
21497
+ # @return [String]
21498
+ attr_accessor :remote_service
21499
+
21500
+ # [Output Only] Server-defined URL for the resource.
21501
+ # Corresponds to the JSON property `selfLink`
21502
+ # @return [String]
21503
+ attr_accessor :self_link
21504
+
21505
+ # [Output Only] Server-defined URL for this resource with the resource id.
21506
+ # Corresponds to the JSON property `selfLinkWithId`
21507
+ # @return [String]
21508
+ attr_accessor :self_link_with_id
21509
+
21510
+ # [Output Only] The status of this InterconnectRemoteLocation, which can take
21511
+ # one of the following values: - CLOSED: The InterconnectRemoteLocation is
21512
+ # closed and is unavailable for provisioning new Cross-Cloud Interconnects. -
21513
+ # AVAILABLE: The InterconnectRemoteLocation is available for provisioning new
21514
+ # Cross-Cloud Interconnects.
21515
+ # Corresponds to the JSON property `status`
21516
+ # @return [String]
21517
+ attr_accessor :status
21518
+
21519
+ def initialize(**args)
21520
+ update!(**args)
21521
+ end
21522
+
21523
+ # Update properties of this object
21524
+ def update!(**args)
21525
+ @address = args[:address] if args.key?(:address)
21526
+ @city = args[:city] if args.key?(:city)
21527
+ @continent = args[:continent] if args.key?(:continent)
21528
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
21529
+ @description = args[:description] if args.key?(:description)
21530
+ @facility_provider = args[:facility_provider] if args.key?(:facility_provider)
21531
+ @facility_provider_facility_id = args[:facility_provider_facility_id] if args.key?(:facility_provider_facility_id)
21532
+ @id = args[:id] if args.key?(:id)
21533
+ @kind = args[:kind] if args.key?(:kind)
21534
+ @name = args[:name] if args.key?(:name)
21535
+ @peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
21536
+ @permitted_connections = args[:permitted_connections] if args.key?(:permitted_connections)
21537
+ @remote_service = args[:remote_service] if args.key?(:remote_service)
21538
+ @self_link = args[:self_link] if args.key?(:self_link)
21539
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
21540
+ @status = args[:status] if args.key?(:status)
21541
+ end
21542
+ end
21543
+
21544
+ # Response to the list request, and contains a list of interconnect remote
21545
+ # locations.
21546
+ class InterconnectRemoteLocationList
21547
+ include Google::Apis::Core::Hashable
21548
+
21549
+ # [Output Only] Unique identifier for the resource; defined by the server.
21550
+ # Corresponds to the JSON property `id`
21551
+ # @return [String]
21552
+ attr_accessor :id
21553
+
21554
+ # A list of InterconnectRemoteLocation resources.
21555
+ # Corresponds to the JSON property `items`
21556
+ # @return [Array<Google::Apis::ComputeAlpha::InterconnectRemoteLocation>]
21557
+ attr_accessor :items
21558
+
21559
+ # [Output Only] Type of resource. Always compute#interconnectRemoteLocationList
21560
+ # for lists of interconnect remote locations.
21561
+ # Corresponds to the JSON property `kind`
21562
+ # @return [String]
21563
+ attr_accessor :kind
21564
+
21565
+ # [Output Only] This token allows you to get the next page of results for list
21566
+ # requests. If the number of results is larger than maxResults, use the
21567
+ # nextPageToken as a value for the query parameter pageToken in the next list
21568
+ # request. Subsequent list requests will have their own nextPageToken to
21569
+ # continue paging through the results.
21570
+ # Corresponds to the JSON property `nextPageToken`
21571
+ # @return [String]
21572
+ attr_accessor :next_page_token
21573
+
21574
+ # [Output Only] Server-defined URL for this resource.
21575
+ # Corresponds to the JSON property `selfLink`
21576
+ # @return [String]
21577
+ attr_accessor :self_link
21578
+
21579
+ # [Output Only] Informational warning message.
21580
+ # Corresponds to the JSON property `warning`
21581
+ # @return [Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning]
21582
+ attr_accessor :warning
21583
+
21584
+ def initialize(**args)
21585
+ update!(**args)
21586
+ end
21587
+
21588
+ # Update properties of this object
21589
+ def update!(**args)
21590
+ @id = args[:id] if args.key?(:id)
21591
+ @items = args[:items] if args.key?(:items)
21592
+ @kind = args[:kind] if args.key?(:kind)
21593
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
21594
+ @self_link = args[:self_link] if args.key?(:self_link)
21595
+ @warning = args[:warning] if args.key?(:warning)
21596
+ end
21597
+
21598
+ # [Output Only] Informational warning message.
21599
+ class Warning
21600
+ include Google::Apis::Core::Hashable
21601
+
21602
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
21603
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
21604
+ # Corresponds to the JSON property `code`
21605
+ # @return [String]
21606
+ attr_accessor :code
21607
+
21608
+ # [Output Only] Metadata about this warning in key: value format. For example: "
21609
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
21610
+ # Corresponds to the JSON property `data`
21611
+ # @return [Array<Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Datum>]
21612
+ attr_accessor :data
21613
+
21614
+ # [Output Only] A human-readable description of the warning code.
21615
+ # Corresponds to the JSON property `message`
21616
+ # @return [String]
21617
+ attr_accessor :message
21618
+
21619
+ def initialize(**args)
21620
+ update!(**args)
21621
+ end
21622
+
21623
+ # Update properties of this object
21624
+ def update!(**args)
21625
+ @code = args[:code] if args.key?(:code)
21626
+ @data = args[:data] if args.key?(:data)
21627
+ @message = args[:message] if args.key?(:message)
21628
+ end
21629
+
21630
+ #
21631
+ class Datum
21632
+ include Google::Apis::Core::Hashable
21633
+
21634
+ # [Output Only] A key that provides more detail on the warning being returned.
21635
+ # For example, for warnings where there are no results in a list request for a
21636
+ # particular zone, this key might be scope and the key value might be the zone
21637
+ # name. Other examples might be a key indicating a deprecated resource and a
21638
+ # suggested replacement, or a warning about invalid network settings (for
21639
+ # example, if an instance attempts to perform IP forwarding but is not enabled
21640
+ # for IP forwarding).
21641
+ # Corresponds to the JSON property `key`
21642
+ # @return [String]
21643
+ attr_accessor :key
21644
+
21645
+ # [Output Only] A warning data value corresponding to the key.
21646
+ # Corresponds to the JSON property `value`
21647
+ # @return [String]
21648
+ attr_accessor :value
21649
+
21650
+ def initialize(**args)
21651
+ update!(**args)
21652
+ end
21653
+
21654
+ # Update properties of this object
21655
+ def update!(**args)
21656
+ @key = args[:key] if args.key?(:key)
21657
+ @value = args[:value] if args.key?(:value)
21658
+ end
21659
+ end
21660
+ end
21661
+ end
21662
+
21663
+ #
21664
+ class InterconnectRemoteLocationPermittedConnections
21665
+ include Google::Apis::Core::Hashable
21666
+
21667
+ # [Output-only] URL of an Interconnect location that is permitted to connect to
21668
+ # this Interconnect remote location.
21669
+ # Corresponds to the JSON property `interconnectLocation`
21670
+ # @return [String]
21671
+ attr_accessor :interconnect_location
21672
+
21673
+ def initialize(**args)
21674
+ update!(**args)
21675
+ end
21676
+
21677
+ # Update properties of this object
21678
+ def update!(**args)
21679
+ @interconnect_location = args[:interconnect_location] if args.key?(:interconnect_location)
21680
+ end
21681
+ end
21682
+
21421
21683
  # Response for the InterconnectsGetDiagnosticsRequest.
21422
21684
  class InterconnectsGetDiagnosticsResponse
21423
21685
  include Google::Apis::Core::Hashable
@@ -37258,6 +37520,11 @@ module Google
37258
37520
  class SavedDisk
37259
37521
  include Google::Apis::Core::Hashable
37260
37522
 
37523
+ # [Output Only] The architecture of the attached disk.
37524
+ # Corresponds to the JSON property `architecture`
37525
+ # @return [String]
37526
+ attr_accessor :architecture
37527
+
37261
37528
  # [Output Only] Type of the resource. Always compute#savedDisk for attached
37262
37529
  # disks.
37263
37530
  # Corresponds to the JSON property `kind`
@@ -37288,6 +37555,7 @@ module Google
37288
37555
 
37289
37556
  # Update properties of this object
37290
37557
  def update!(**args)
37558
+ @architecture = args[:architecture] if args.key?(:architecture)
37291
37559
  @kind = args[:kind] if args.key?(:kind)
37292
37560
  @source_disk = args[:source_disk] if args.key?(:source_disk)
37293
37561
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.40.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220614"
25
+ REVISION = "20220621"
26
26
  end
27
27
  end
28
28
  end
@@ -2620,6 +2620,36 @@ module Google
2620
2620
  include Google::Apis::Core::JsonObjectSupport
2621
2621
  end
2622
2622
 
2623
+ class InterconnectRemoteLocation
2624
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2625
+
2626
+ include Google::Apis::Core::JsonObjectSupport
2627
+ end
2628
+
2629
+ class InterconnectRemoteLocationList
2630
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2631
+
2632
+ class Warning
2633
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2634
+
2635
+ class Datum
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2641
+ include Google::Apis::Core::JsonObjectSupport
2642
+ end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2647
+ class InterconnectRemoteLocationPermittedConnections
2648
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2649
+
2650
+ include Google::Apis::Core::JsonObjectSupport
2651
+ end
2652
+
2623
2653
  class InterconnectsGetDiagnosticsResponse
2624
2654
  class Representation < Google::Apis::Core::JsonRepresentation; end
2625
2655
 
@@ -11575,6 +11605,68 @@ module Google
11575
11605
  end
11576
11606
  end
11577
11607
 
11608
+ class InterconnectRemoteLocation
11609
+ # @private
11610
+ class Representation < Google::Apis::Core::JsonRepresentation
11611
+ property :address, as: 'address'
11612
+ property :city, as: 'city'
11613
+ property :continent, as: 'continent'
11614
+ property :creation_timestamp, as: 'creationTimestamp'
11615
+ property :description, as: 'description'
11616
+ property :facility_provider, as: 'facilityProvider'
11617
+ property :facility_provider_facility_id, as: 'facilityProviderFacilityId'
11618
+ property :id, :numeric_string => true, as: 'id'
11619
+ property :kind, as: 'kind'
11620
+ property :name, as: 'name'
11621
+ property :peeringdb_facility_id, as: 'peeringdbFacilityId'
11622
+ property :permitted_connections, as: 'permittedConnections', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationPermittedConnections::Representation
11623
+
11624
+ property :remote_service, as: 'remoteService'
11625
+ property :self_link, as: 'selfLink'
11626
+ property :self_link_with_id, as: 'selfLinkWithId'
11627
+ property :status, as: 'status'
11628
+ end
11629
+ end
11630
+
11631
+ class InterconnectRemoteLocationList
11632
+ # @private
11633
+ class Representation < Google::Apis::Core::JsonRepresentation
11634
+ property :id, as: 'id'
11635
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocation, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocation::Representation
11636
+
11637
+ property :kind, as: 'kind'
11638
+ property :next_page_token, as: 'nextPageToken'
11639
+ property :self_link, as: 'selfLink'
11640
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Representation
11641
+
11642
+ end
11643
+
11644
+ class Warning
11645
+ # @private
11646
+ class Representation < Google::Apis::Core::JsonRepresentation
11647
+ property :code, as: 'code'
11648
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Warning::Datum::Representation
11649
+
11650
+ property :message, as: 'message'
11651
+ end
11652
+
11653
+ class Datum
11654
+ # @private
11655
+ class Representation < Google::Apis::Core::JsonRepresentation
11656
+ property :key, as: 'key'
11657
+ property :value, as: 'value'
11658
+ end
11659
+ end
11660
+ end
11661
+ end
11662
+
11663
+ class InterconnectRemoteLocationPermittedConnections
11664
+ # @private
11665
+ class Representation < Google::Apis::Core::JsonRepresentation
11666
+ property :interconnect_location, as: 'interconnectLocation'
11667
+ end
11668
+ end
11669
+
11578
11670
  class InterconnectsGetDiagnosticsResponse
11579
11671
  # @private
11580
11672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15652,6 +15744,7 @@ module Google
15652
15744
  class SavedDisk
15653
15745
  # @private
15654
15746
  class Representation < Google::Apis::Core::JsonRepresentation
15747
+ property :architecture, as: 'architecture'
15655
15748
  property :kind, as: 'kind'
15656
15749
  property :source_disk, as: 'sourceDisk'
15657
15750
  property :storage_bytes, :numeric_string => true, as: 'storageBytes'
@@ -17026,6 +17026,171 @@ module Google
17026
17026
  execute_or_queue_command(command, &block)
17027
17027
  end
17028
17028
 
17029
+ # Returns the details for the specified interconnect remote location. Gets a
17030
+ # list of available interconnect remote locations by making a list() request.
17031
+ # @param [String] project
17032
+ # Project ID for this request.
17033
+ # @param [String] interconnect_remote_location
17034
+ # Name of the interconnect remote location to return.
17035
+ # @param [String] fields
17036
+ # Selector specifying which fields to include in a partial response.
17037
+ # @param [String] quota_user
17038
+ # Available to use for quota purposes for server-side applications. Can be any
17039
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17040
+ # @param [String] user_ip
17041
+ # Legacy name for parameter that has been superseded by `quotaUser`.
17042
+ # @param [Google::Apis::RequestOptions] options
17043
+ # Request-specific options
17044
+ #
17045
+ # @yield [result, err] Result & error if block supplied
17046
+ # @yieldparam result [Google::Apis::ComputeAlpha::InterconnectRemoteLocation] parsed result object
17047
+ # @yieldparam err [StandardError] error object if request failed
17048
+ #
17049
+ # @return [Google::Apis::ComputeAlpha::InterconnectRemoteLocation]
17050
+ #
17051
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17052
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17053
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17054
+ def get_interconnect_remote_location(project, interconnect_remote_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17055
+ command = make_simple_command(:get, 'projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}', options)
17056
+ command.response_representation = Google::Apis::ComputeAlpha::InterconnectRemoteLocation::Representation
17057
+ command.response_class = Google::Apis::ComputeAlpha::InterconnectRemoteLocation
17058
+ command.params['project'] = project unless project.nil?
17059
+ command.params['interconnectRemoteLocation'] = interconnect_remote_location unless interconnect_remote_location.nil?
17060
+ command.query['fields'] = fields unless fields.nil?
17061
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17062
+ command.query['userIp'] = user_ip unless user_ip.nil?
17063
+ execute_or_queue_command(command, &block)
17064
+ end
17065
+
17066
+ # Retrieves the list of interconnect remote locations available to the specified
17067
+ # project.
17068
+ # @param [String] project
17069
+ # Project ID for this request.
17070
+ # @param [String] filter
17071
+ # A filter expression that filters resources listed in the response. Most
17072
+ # Compute resources support two types of filter expressions: expressions that
17073
+ # support regular expressions and expressions that follow API improvement
17074
+ # proposal AIP-160. If you want to use AIP-160, your expression must specify the
17075
+ # field name, an operator, and the value that you want to use for filtering. The
17076
+ # value must be a string, a number, or a boolean. The operator must be either `=`
17077
+ # , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
17078
+ # Engine instances, you can exclude instances named `example-instance` by
17079
+ # specifying `name != example-instance`. The `:` operator can be used with
17080
+ # string fields to match substrings. For non-string fields it is equivalent to
17081
+ # the `=` operator. The `:*` comparison can be used to test whether a key has
17082
+ # been defined. For example, to find all objects with `owner` label use: ```
17083
+ # labels.owner:* ``` You can also filter nested fields. For example, you could
17084
+ # specify `scheduling.automaticRestart = false` to include instances only if
17085
+ # they are not scheduled for automatic restarts. You can use filtering on nested
17086
+ # fields to filter based on resource labels. To filter on multiple expressions,
17087
+ # provide each separate expression within parentheses. For example: ``` (
17088
+ # scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
17089
+ # default, each expression is an `AND` expression. However, you can include `AND`
17090
+ # and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
17091
+ # Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
17092
+ # automaticRestart = true) ``` If you want to use a regular expression, use the `
17093
+ # eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
17094
+ # expression with or without quotes or against multiple parenthesized
17095
+ # expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
17096
+ # quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
17097
+ # literal) (fieldname2 ne "literal")` The literal value is interpreted as a
17098
+ # regular expression using Google RE2 library syntax. The literal value must
17099
+ # match the entire field. For example, to filter for instances that do not end
17100
+ # with name "instance", you would use `name ne .*instance`.
17101
+ # @param [Fixnum] max_results
17102
+ # The maximum number of results per page that should be returned. If the number
17103
+ # of available results is larger than `maxResults`, Compute Engine returns a `
17104
+ # nextPageToken` that can be used to get the next page of results in subsequent
17105
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
17106
+ # @param [String] order_by
17107
+ # Sorts list results by a certain order. By default, results are returned in
17108
+ # alphanumerical order based on the resource name. You can also sort results in
17109
+ # descending order based on the creation timestamp using `orderBy="
17110
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
17111
+ # field in reverse chronological order (newest result first). Use this to sort
17112
+ # resources like operations so that the newest operation is returned first.
17113
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
17114
+ # @param [String] page_token
17115
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
17116
+ # by a previous list request to get the next page of results.
17117
+ # @param [Boolean] return_partial_success
17118
+ # Opt-in for partial success behavior which provides partial results in case of
17119
+ # failure. The default value is false.
17120
+ # @param [String] fields
17121
+ # Selector specifying which fields to include in a partial response.
17122
+ # @param [String] quota_user
17123
+ # Available to use for quota purposes for server-side applications. Can be any
17124
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17125
+ # @param [String] user_ip
17126
+ # Legacy name for parameter that has been superseded by `quotaUser`.
17127
+ # @param [Google::Apis::RequestOptions] options
17128
+ # Request-specific options
17129
+ #
17130
+ # @yield [result, err] Result & error if block supplied
17131
+ # @yieldparam result [Google::Apis::ComputeAlpha::InterconnectRemoteLocationList] parsed result object
17132
+ # @yieldparam err [StandardError] error object if request failed
17133
+ #
17134
+ # @return [Google::Apis::ComputeAlpha::InterconnectRemoteLocationList]
17135
+ #
17136
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17137
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17138
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17139
+ def list_interconnect_remote_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17140
+ command = make_simple_command(:get, 'projects/{project}/global/interconnectRemoteLocations', options)
17141
+ command.response_representation = Google::Apis::ComputeAlpha::InterconnectRemoteLocationList::Representation
17142
+ command.response_class = Google::Apis::ComputeAlpha::InterconnectRemoteLocationList
17143
+ command.params['project'] = project unless project.nil?
17144
+ command.query['filter'] = filter unless filter.nil?
17145
+ command.query['maxResults'] = max_results unless max_results.nil?
17146
+ command.query['orderBy'] = order_by unless order_by.nil?
17147
+ command.query['pageToken'] = page_token unless page_token.nil?
17148
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
17149
+ command.query['fields'] = fields unless fields.nil?
17150
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17151
+ command.query['userIp'] = user_ip unless user_ip.nil?
17152
+ execute_or_queue_command(command, &block)
17153
+ end
17154
+
17155
+ # Returns permissions that a caller has on the specified resource.
17156
+ # @param [String] project
17157
+ # Project ID for this request.
17158
+ # @param [String] resource
17159
+ # Name or id of the resource for this request.
17160
+ # @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
17161
+ # @param [String] fields
17162
+ # Selector specifying which fields to include in a partial response.
17163
+ # @param [String] quota_user
17164
+ # Available to use for quota purposes for server-side applications. Can be any
17165
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
17166
+ # @param [String] user_ip
17167
+ # Legacy name for parameter that has been superseded by `quotaUser`.
17168
+ # @param [Google::Apis::RequestOptions] options
17169
+ # Request-specific options
17170
+ #
17171
+ # @yield [result, err] Result & error if block supplied
17172
+ # @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
17173
+ # @yieldparam err [StandardError] error object if request failed
17174
+ #
17175
+ # @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
17176
+ #
17177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
17178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
17179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
17180
+ def test_interconnect_remote_location_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
17181
+ command = make_simple_command(:post, 'projects/{project}/global/interconnectRemoteLocations/{resource}/testIamPermissions', options)
17182
+ command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
17183
+ command.request_object = test_permissions_request_object
17184
+ command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
17185
+ command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
17186
+ command.params['project'] = project unless project.nil?
17187
+ command.params['resource'] = resource unless resource.nil?
17188
+ command.query['fields'] = fields unless fields.nil?
17189
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
17190
+ command.query['userIp'] = user_ip unless user_ip.nil?
17191
+ execute_or_queue_command(command, &block)
17192
+ end
17193
+
17029
17194
  # Deletes the specified interconnect.
17030
17195
  # @param [String] project
17031
17196
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.41.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []