google-apis-compute_alpha 0.38.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.
|
@@ -7837,6 +7837,56 @@ module Google
|
|
|
7837
7837
|
end
|
|
7838
7838
|
end
|
|
7839
7839
|
|
|
7840
|
+
# Describes the cause of the error with structured details. Example of an error
|
|
7841
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
|
7842
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
|
7843
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
|
7844
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
|
7845
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
|
7846
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
|
7847
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
|
7848
|
+
class ErrorInfo
|
|
7849
|
+
include Google::Apis::Core::Hashable
|
|
7850
|
+
|
|
7851
|
+
# The logical grouping to which the "reason" belongs. The error domain is
|
|
7852
|
+
# typically the registered service name of the tool or product that generates
|
|
7853
|
+
# the error. Example: "pubsub.googleapis.com". If the error is generated by some
|
|
7854
|
+
# common infrastructure, the error domain must be a globally unique value that
|
|
7855
|
+
# identifies the infrastructure. For Google API infrastructure, the error domain
|
|
7856
|
+
# is "googleapis.com".
|
|
7857
|
+
# Corresponds to the JSON property `domain`
|
|
7858
|
+
# @return [String]
|
|
7859
|
+
attr_accessor :domain
|
|
7860
|
+
|
|
7861
|
+
# Additional structured details about this error. Keys should match /[a-zA-Z0-9-
|
|
7862
|
+
# _]/ and be limited to 64 characters in length. When identifying the current
|
|
7863
|
+
# value of an exceeded limit, the units should be contained in the key, not the
|
|
7864
|
+
# value. For example, rather than `"instanceLimit": "100/request"`, should be
|
|
7865
|
+
# returned as, `"instanceLimitPerRequest": "100"`, if the client exceeds the
|
|
7866
|
+
# number of instances that can be created in a single (batch) request.
|
|
7867
|
+
# Corresponds to the JSON property `metadatas`
|
|
7868
|
+
# @return [Hash<String,String>]
|
|
7869
|
+
attr_accessor :metadatas
|
|
7870
|
+
|
|
7871
|
+
# The reason of the error. This is a constant value that identifies the
|
|
7872
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
|
7873
|
+
# domain of errors. This should be at most 63 characters and match /[A-Z0-9_]+/.
|
|
7874
|
+
# Corresponds to the JSON property `reason`
|
|
7875
|
+
# @return [String]
|
|
7876
|
+
attr_accessor :reason
|
|
7877
|
+
|
|
7878
|
+
def initialize(**args)
|
|
7879
|
+
update!(**args)
|
|
7880
|
+
end
|
|
7881
|
+
|
|
7882
|
+
# Update properties of this object
|
|
7883
|
+
def update!(**args)
|
|
7884
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
7885
|
+
@metadatas = args[:metadatas] if args.key?(:metadatas)
|
|
7886
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
7887
|
+
end
|
|
7888
|
+
end
|
|
7889
|
+
|
|
7840
7890
|
#
|
|
7841
7891
|
class ExchangedPeeringRoute
|
|
7842
7892
|
include Google::Apis::Core::Hashable
|
|
@@ -9150,6 +9200,14 @@ module Google
|
|
|
9150
9200
|
# @return [Fixnum]
|
|
9151
9201
|
attr_accessor :rule_tuple_count
|
|
9152
9202
|
|
|
9203
|
+
# A fully-qualified URL of a SecurityProfile resource instance. Example: https://
|
|
9204
|
+
# networksecurity.googleapis.com/v1/projects/`project`/locations/`location`/
|
|
9205
|
+
# securityProfileGroups/my-security-profile-group Must be specified if action = '
|
|
9206
|
+
# apply_profile_group' and cannot be specified for other actions.
|
|
9207
|
+
# Corresponds to the JSON property `securityProfileGroup`
|
|
9208
|
+
# @return [String]
|
|
9209
|
+
attr_accessor :security_profile_group
|
|
9210
|
+
|
|
9153
9211
|
# A list of network resource URLs to which this rule applies. This field allows
|
|
9154
9212
|
# you to control which network's VMs get this rule. If this field is left blank,
|
|
9155
9213
|
# all VMs within the organization will receive the rule.
|
|
@@ -9191,6 +9249,7 @@ module Google
|
|
|
9191
9249
|
@priority = args[:priority] if args.key?(:priority)
|
|
9192
9250
|
@rule_name = args[:rule_name] if args.key?(:rule_name)
|
|
9193
9251
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
|
9252
|
+
@security_profile_group = args[:security_profile_group] if args.key?(:security_profile_group)
|
|
9194
9253
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
|
9195
9254
|
@target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
|
|
9196
9255
|
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
|
@@ -9500,8 +9559,7 @@ module Google
|
|
|
9500
9559
|
attr_accessor :id
|
|
9501
9560
|
|
|
9502
9561
|
# The IP Version that will be used by this forwarding rule. Valid options are
|
|
9503
|
-
# IPV4 or IPV6.
|
|
9504
|
-
# rule.
|
|
9562
|
+
# IPV4 or IPV6.
|
|
9505
9563
|
# Corresponds to the JSON property `ipVersion`
|
|
9506
9564
|
# @return [String]
|
|
9507
9565
|
attr_accessor :ip_version
|
|
@@ -10766,6 +10824,37 @@ module Google
|
|
|
10766
10824
|
end
|
|
10767
10825
|
end
|
|
10768
10826
|
|
|
10827
|
+
#
|
|
10828
|
+
class GlobalAddressesMoveRequest
|
|
10829
|
+
include Google::Apis::Core::Hashable
|
|
10830
|
+
|
|
10831
|
+
# An optional destination address description if intended to be different from
|
|
10832
|
+
# the source.
|
|
10833
|
+
# Corresponds to the JSON property `description`
|
|
10834
|
+
# @return [String]
|
|
10835
|
+
attr_accessor :description
|
|
10836
|
+
|
|
10837
|
+
# The URL of the destination address to move to. This can be a full or partial
|
|
10838
|
+
# URL. For example, the following are all valid URLs to a address: - https://www.
|
|
10839
|
+
# googleapis.com/compute/v1/projects/project /global/addresses/address -
|
|
10840
|
+
# projects/project/global/addresses/address Note that destination project must
|
|
10841
|
+
# be different from the source project. So /global/addresses/address is not
|
|
10842
|
+
# valid partial url.
|
|
10843
|
+
# Corresponds to the JSON property `destinationAddress`
|
|
10844
|
+
# @return [String]
|
|
10845
|
+
attr_accessor :destination_address
|
|
10846
|
+
|
|
10847
|
+
def initialize(**args)
|
|
10848
|
+
update!(**args)
|
|
10849
|
+
end
|
|
10850
|
+
|
|
10851
|
+
# Update properties of this object
|
|
10852
|
+
def update!(**args)
|
|
10853
|
+
@description = args[:description] if args.key?(:description)
|
|
10854
|
+
@destination_address = args[:destination_address] if args.key?(:destination_address)
|
|
10855
|
+
end
|
|
10856
|
+
end
|
|
10857
|
+
|
|
10769
10858
|
#
|
|
10770
10859
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
|
10771
10860
|
include Google::Apis::Core::Hashable
|
|
@@ -12495,6 +12584,53 @@ module Google
|
|
|
12495
12584
|
end
|
|
12496
12585
|
end
|
|
12497
12586
|
|
|
12587
|
+
# Provides links to documentation or for performing an out of band action. For
|
|
12588
|
+
# example, if a quota check failed with an error indicating the calling project
|
|
12589
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
|
12590
|
+
# to the right place in the developer console to flip the bit.
|
|
12591
|
+
class Help
|
|
12592
|
+
include Google::Apis::Core::Hashable
|
|
12593
|
+
|
|
12594
|
+
# URL(s) pointing to additional information on handling the current error.
|
|
12595
|
+
# Corresponds to the JSON property `links`
|
|
12596
|
+
# @return [Array<Google::Apis::ComputeAlpha::HelpLink>]
|
|
12597
|
+
attr_accessor :links
|
|
12598
|
+
|
|
12599
|
+
def initialize(**args)
|
|
12600
|
+
update!(**args)
|
|
12601
|
+
end
|
|
12602
|
+
|
|
12603
|
+
# Update properties of this object
|
|
12604
|
+
def update!(**args)
|
|
12605
|
+
@links = args[:links] if args.key?(:links)
|
|
12606
|
+
end
|
|
12607
|
+
end
|
|
12608
|
+
|
|
12609
|
+
# Describes a URL link.
|
|
12610
|
+
class HelpLink
|
|
12611
|
+
include Google::Apis::Core::Hashable
|
|
12612
|
+
|
|
12613
|
+
# Describes what the link offers.
|
|
12614
|
+
# Corresponds to the JSON property `description`
|
|
12615
|
+
# @return [String]
|
|
12616
|
+
attr_accessor :description
|
|
12617
|
+
|
|
12618
|
+
# The URL of the link.
|
|
12619
|
+
# Corresponds to the JSON property `url`
|
|
12620
|
+
# @return [String]
|
|
12621
|
+
attr_accessor :url
|
|
12622
|
+
|
|
12623
|
+
def initialize(**args)
|
|
12624
|
+
update!(**args)
|
|
12625
|
+
end
|
|
12626
|
+
|
|
12627
|
+
# Update properties of this object
|
|
12628
|
+
def update!(**args)
|
|
12629
|
+
@description = args[:description] if args.key?(:description)
|
|
12630
|
+
@url = args[:url] if args.key?(:url)
|
|
12631
|
+
end
|
|
12632
|
+
end
|
|
12633
|
+
|
|
12498
12634
|
# UrlMaps A host-matching rule for a URL. If matched, will use the named
|
|
12499
12635
|
# PathMatcher to select the BackendService.
|
|
12500
12636
|
class HostRule
|
|
@@ -18175,6 +18311,12 @@ module Google
|
|
|
18175
18311
|
# @return [Google::Apis::ComputeAlpha::InstanceProperties]
|
|
18176
18312
|
attr_accessor :properties
|
|
18177
18313
|
|
|
18314
|
+
# [Output Only] URL of the region where the instance template resides. Only
|
|
18315
|
+
# applicable for regional resources.
|
|
18316
|
+
# Corresponds to the JSON property `region`
|
|
18317
|
+
# @return [String]
|
|
18318
|
+
attr_accessor :region
|
|
18319
|
+
|
|
18178
18320
|
# [Output Only] The URL for this instance template. The server defines this URL.
|
|
18179
18321
|
# Corresponds to the JSON property `selfLink`
|
|
18180
18322
|
# @return [String]
|
|
@@ -18211,6 +18353,7 @@ module Google
|
|
|
18211
18353
|
@kind = args[:kind] if args.key?(:kind)
|
|
18212
18354
|
@name = args[:name] if args.key?(:name)
|
|
18213
18355
|
@properties = args[:properties] if args.key?(:properties)
|
|
18356
|
+
@region = args[:region] if args.key?(:region)
|
|
18214
18357
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
18215
18358
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
|
18216
18359
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
|
@@ -21275,6 +21418,268 @@ module Google
|
|
|
21275
21418
|
end
|
|
21276
21419
|
end
|
|
21277
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
|
+
|
|
21278
21683
|
# Response for the InterconnectsGetDiagnosticsRequest.
|
|
21279
21684
|
class InterconnectsGetDiagnosticsResponse
|
|
21280
21685
|
include Google::Apis::Core::Hashable
|
|
@@ -22109,6 +22514,33 @@ module Google
|
|
|
22109
22514
|
end
|
|
22110
22515
|
end
|
|
22111
22516
|
|
|
22517
|
+
# Provides a localized error message that is safe to return to the user which
|
|
22518
|
+
# can be attached to an RPC error.
|
|
22519
|
+
class LocalizedMessage
|
|
22520
|
+
include Google::Apis::Core::Hashable
|
|
22521
|
+
|
|
22522
|
+
# The locale used following the specification defined at http://www.rfc-editor.
|
|
22523
|
+
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
|
22524
|
+
# Corresponds to the JSON property `locale`
|
|
22525
|
+
# @return [String]
|
|
22526
|
+
attr_accessor :locale
|
|
22527
|
+
|
|
22528
|
+
# The localized error message in the above locale.
|
|
22529
|
+
# Corresponds to the JSON property `message`
|
|
22530
|
+
# @return [String]
|
|
22531
|
+
attr_accessor :message
|
|
22532
|
+
|
|
22533
|
+
def initialize(**args)
|
|
22534
|
+
update!(**args)
|
|
22535
|
+
end
|
|
22536
|
+
|
|
22537
|
+
# Update properties of this object
|
|
22538
|
+
def update!(**args)
|
|
22539
|
+
@locale = args[:locale] if args.key?(:locale)
|
|
22540
|
+
@message = args[:message] if args.key?(:message)
|
|
22541
|
+
end
|
|
22542
|
+
end
|
|
22543
|
+
|
|
22112
22544
|
# Configuration for location policy among multiple possible locations (e.g.
|
|
22113
22545
|
# preferences for zone selection among zones in a single region).
|
|
22114
22546
|
class LocationPolicy
|
|
@@ -23277,6 +23709,14 @@ module Google
|
|
|
23277
23709
|
# @return [String]
|
|
23278
23710
|
attr_accessor :code
|
|
23279
23711
|
|
|
23712
|
+
# [Output Only] An optional list of messages that contain the error details.
|
|
23713
|
+
# There is a set of defined message types to use for providing details.The
|
|
23714
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
|
23715
|
+
# details when the error code is QUOTA_EXCEEDED.
|
|
23716
|
+
# Corresponds to the JSON property `errorDetails`
|
|
23717
|
+
# @return [Array<Google::Apis::ComputeAlpha::ManagedInstanceLastAttempt::Errors::Error::ErrorDetail>]
|
|
23718
|
+
attr_accessor :error_details
|
|
23719
|
+
|
|
23280
23720
|
# [Output Only] Indicates the field in the request that caused the error. This
|
|
23281
23721
|
# property is optional.
|
|
23282
23722
|
# Corresponds to the JSON property `location`
|
|
@@ -23295,9 +23735,58 @@ module Google
|
|
|
23295
23735
|
# Update properties of this object
|
|
23296
23736
|
def update!(**args)
|
|
23297
23737
|
@code = args[:code] if args.key?(:code)
|
|
23738
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
|
23298
23739
|
@location = args[:location] if args.key?(:location)
|
|
23299
23740
|
@message = args[:message] if args.key?(:message)
|
|
23300
23741
|
end
|
|
23742
|
+
|
|
23743
|
+
#
|
|
23744
|
+
class ErrorDetail
|
|
23745
|
+
include Google::Apis::Core::Hashable
|
|
23746
|
+
|
|
23747
|
+
# Describes the cause of the error with structured details. Example of an error
|
|
23748
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
|
23749
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
|
23750
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
|
23751
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
|
23752
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
|
23753
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
|
23754
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
|
23755
|
+
# Corresponds to the JSON property `errorInfo`
|
|
23756
|
+
# @return [Google::Apis::ComputeAlpha::ErrorInfo]
|
|
23757
|
+
attr_accessor :error_info
|
|
23758
|
+
|
|
23759
|
+
# Provides links to documentation or for performing an out of band action. For
|
|
23760
|
+
# example, if a quota check failed with an error indicating the calling project
|
|
23761
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
|
23762
|
+
# to the right place in the developer console to flip the bit.
|
|
23763
|
+
# Corresponds to the JSON property `help`
|
|
23764
|
+
# @return [Google::Apis::ComputeAlpha::Help]
|
|
23765
|
+
attr_accessor :help
|
|
23766
|
+
|
|
23767
|
+
# Provides a localized error message that is safe to return to the user which
|
|
23768
|
+
# can be attached to an RPC error.
|
|
23769
|
+
# Corresponds to the JSON property `localizedMessage`
|
|
23770
|
+
# @return [Google::Apis::ComputeAlpha::LocalizedMessage]
|
|
23771
|
+
attr_accessor :localized_message
|
|
23772
|
+
|
|
23773
|
+
# Additional details for quota exceeded error for resource quota.
|
|
23774
|
+
# Corresponds to the JSON property `quotaInfo`
|
|
23775
|
+
# @return [Google::Apis::ComputeAlpha::QuotaExceededInfo]
|
|
23776
|
+
attr_accessor :quota_info
|
|
23777
|
+
|
|
23778
|
+
def initialize(**args)
|
|
23779
|
+
update!(**args)
|
|
23780
|
+
end
|
|
23781
|
+
|
|
23782
|
+
# Update properties of this object
|
|
23783
|
+
def update!(**args)
|
|
23784
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
|
23785
|
+
@help = args[:help] if args.key?(:help)
|
|
23786
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
|
23787
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
|
23788
|
+
end
|
|
23789
|
+
end
|
|
23301
23790
|
end
|
|
23302
23791
|
end
|
|
23303
23792
|
end
|
|
@@ -28130,6 +28619,14 @@ module Google
|
|
|
28130
28619
|
# @return [String]
|
|
28131
28620
|
attr_accessor :code
|
|
28132
28621
|
|
|
28622
|
+
# [Output Only] An optional list of messages that contain the error details.
|
|
28623
|
+
# There is a set of defined message types to use for providing details.The
|
|
28624
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
|
28625
|
+
# details when the error code is QUOTA_EXCEEDED.
|
|
28626
|
+
# Corresponds to the JSON property `errorDetails`
|
|
28627
|
+
# @return [Array<Google::Apis::ComputeAlpha::Operation::Error::Error::ErrorDetail>]
|
|
28628
|
+
attr_accessor :error_details
|
|
28629
|
+
|
|
28133
28630
|
# [Output Only] Indicates the field in the request that caused the error. This
|
|
28134
28631
|
# property is optional.
|
|
28135
28632
|
# Corresponds to the JSON property `location`
|
|
@@ -28148,9 +28645,58 @@ module Google
|
|
|
28148
28645
|
# Update properties of this object
|
|
28149
28646
|
def update!(**args)
|
|
28150
28647
|
@code = args[:code] if args.key?(:code)
|
|
28648
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
|
28151
28649
|
@location = args[:location] if args.key?(:location)
|
|
28152
28650
|
@message = args[:message] if args.key?(:message)
|
|
28153
28651
|
end
|
|
28652
|
+
|
|
28653
|
+
#
|
|
28654
|
+
class ErrorDetail
|
|
28655
|
+
include Google::Apis::Core::Hashable
|
|
28656
|
+
|
|
28657
|
+
# Describes the cause of the error with structured details. Example of an error
|
|
28658
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
|
28659
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
|
28660
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
|
28661
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
|
28662
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
|
28663
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
|
28664
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
|
28665
|
+
# Corresponds to the JSON property `errorInfo`
|
|
28666
|
+
# @return [Google::Apis::ComputeAlpha::ErrorInfo]
|
|
28667
|
+
attr_accessor :error_info
|
|
28668
|
+
|
|
28669
|
+
# Provides links to documentation or for performing an out of band action. For
|
|
28670
|
+
# example, if a quota check failed with an error indicating the calling project
|
|
28671
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
|
28672
|
+
# to the right place in the developer console to flip the bit.
|
|
28673
|
+
# Corresponds to the JSON property `help`
|
|
28674
|
+
# @return [Google::Apis::ComputeAlpha::Help]
|
|
28675
|
+
attr_accessor :help
|
|
28676
|
+
|
|
28677
|
+
# Provides a localized error message that is safe to return to the user which
|
|
28678
|
+
# can be attached to an RPC error.
|
|
28679
|
+
# Corresponds to the JSON property `localizedMessage`
|
|
28680
|
+
# @return [Google::Apis::ComputeAlpha::LocalizedMessage]
|
|
28681
|
+
attr_accessor :localized_message
|
|
28682
|
+
|
|
28683
|
+
# Additional details for quota exceeded error for resource quota.
|
|
28684
|
+
# Corresponds to the JSON property `quotaInfo`
|
|
28685
|
+
# @return [Google::Apis::ComputeAlpha::QuotaExceededInfo]
|
|
28686
|
+
attr_accessor :quota_info
|
|
28687
|
+
|
|
28688
|
+
def initialize(**args)
|
|
28689
|
+
update!(**args)
|
|
28690
|
+
end
|
|
28691
|
+
|
|
28692
|
+
# Update properties of this object
|
|
28693
|
+
def update!(**args)
|
|
28694
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
|
28695
|
+
@help = args[:help] if args.key?(:help)
|
|
28696
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
|
28697
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
|
28698
|
+
end
|
|
28699
|
+
end
|
|
28154
28700
|
end
|
|
28155
28701
|
end
|
|
28156
28702
|
|
|
@@ -31150,6 +31696,44 @@ module Google
|
|
|
31150
31696
|
end
|
|
31151
31697
|
end
|
|
31152
31698
|
|
|
31699
|
+
# Additional details for quota exceeded error for resource quota.
|
|
31700
|
+
class QuotaExceededInfo
|
|
31701
|
+
include Google::Apis::Core::Hashable
|
|
31702
|
+
|
|
31703
|
+
# The map holding related quota dimensions.
|
|
31704
|
+
# Corresponds to the JSON property `dimensions`
|
|
31705
|
+
# @return [Hash<String,String>]
|
|
31706
|
+
attr_accessor :dimensions
|
|
31707
|
+
|
|
31708
|
+
# Current effective quota limit. The limit's unit depends on the quota type or
|
|
31709
|
+
# metric.
|
|
31710
|
+
# Corresponds to the JSON property `limit`
|
|
31711
|
+
# @return [Float]
|
|
31712
|
+
attr_accessor :limit
|
|
31713
|
+
|
|
31714
|
+
# The name of the quota limit.
|
|
31715
|
+
# Corresponds to the JSON property `limitName`
|
|
31716
|
+
# @return [String]
|
|
31717
|
+
attr_accessor :limit_name
|
|
31718
|
+
|
|
31719
|
+
# The Compute Engine quota metric name.
|
|
31720
|
+
# Corresponds to the JSON property `metricName`
|
|
31721
|
+
# @return [String]
|
|
31722
|
+
attr_accessor :metric_name
|
|
31723
|
+
|
|
31724
|
+
def initialize(**args)
|
|
31725
|
+
update!(**args)
|
|
31726
|
+
end
|
|
31727
|
+
|
|
31728
|
+
# Update properties of this object
|
|
31729
|
+
def update!(**args)
|
|
31730
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
|
31731
|
+
@limit = args[:limit] if args.key?(:limit)
|
|
31732
|
+
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
|
31733
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
|
31734
|
+
end
|
|
31735
|
+
end
|
|
31736
|
+
|
|
31153
31737
|
#
|
|
31154
31738
|
class RbacPolicy
|
|
31155
31739
|
include Google::Apis::Core::Hashable
|
|
@@ -31308,6 +31892,37 @@ module Google
|
|
|
31308
31892
|
end
|
|
31309
31893
|
end
|
|
31310
31894
|
|
|
31895
|
+
#
|
|
31896
|
+
class RegionAddressesMoveRequest
|
|
31897
|
+
include Google::Apis::Core::Hashable
|
|
31898
|
+
|
|
31899
|
+
# An optional destination address description if intended to be different from
|
|
31900
|
+
# the source.
|
|
31901
|
+
# Corresponds to the JSON property `description`
|
|
31902
|
+
# @return [String]
|
|
31903
|
+
attr_accessor :description
|
|
31904
|
+
|
|
31905
|
+
# The URL of the destination address to move to. This can be a full or partial
|
|
31906
|
+
# URL. For example, the following are all valid URLs to a address: - https://www.
|
|
31907
|
+
# googleapis.com/compute/v1/projects/project/regions/region /addresses/address -
|
|
31908
|
+
# projects/project/regions/region/addresses/address Note that destination
|
|
31909
|
+
# project must be different from the source project. So /regions/region/
|
|
31910
|
+
# addresses/address is not valid partial url.
|
|
31911
|
+
# Corresponds to the JSON property `destinationAddress`
|
|
31912
|
+
# @return [String]
|
|
31913
|
+
attr_accessor :destination_address
|
|
31914
|
+
|
|
31915
|
+
def initialize(**args)
|
|
31916
|
+
update!(**args)
|
|
31917
|
+
end
|
|
31918
|
+
|
|
31919
|
+
# Update properties of this object
|
|
31920
|
+
def update!(**args)
|
|
31921
|
+
@description = args[:description] if args.key?(:description)
|
|
31922
|
+
@destination_address = args[:destination_address] if args.key?(:destination_address)
|
|
31923
|
+
end
|
|
31924
|
+
end
|
|
31925
|
+
|
|
31311
31926
|
# Contains a list of autoscalers.
|
|
31312
31927
|
class RegionAutoscalerList
|
|
31313
31928
|
include Google::Apis::Core::Hashable
|
|
@@ -36905,6 +37520,11 @@ module Google
|
|
|
36905
37520
|
class SavedDisk
|
|
36906
37521
|
include Google::Apis::Core::Hashable
|
|
36907
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
|
+
|
|
36908
37528
|
# [Output Only] Type of the resource. Always compute#savedDisk for attached
|
|
36909
37529
|
# disks.
|
|
36910
37530
|
# Corresponds to the JSON property `kind`
|
|
@@ -36935,6 +37555,7 @@ module Google
|
|
|
36935
37555
|
|
|
36936
37556
|
# Update properties of this object
|
|
36937
37557
|
def update!(**args)
|
|
37558
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
|
36938
37559
|
@kind = args[:kind] if args.key?(:kind)
|
|
36939
37560
|
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
|
36940
37561
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
|
@@ -38420,6 +39041,11 @@ module Google
|
|
|
38420
39041
|
# @return [String]
|
|
38421
39042
|
attr_accessor :exceed_action
|
|
38422
39043
|
|
|
39044
|
+
# Simplified google.rpc.Status type (omitting details).
|
|
39045
|
+
# Corresponds to the JSON property `exceedActionRpcStatus`
|
|
39046
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsRpcStatus]
|
|
39047
|
+
attr_accessor :exceed_action_rpc_status
|
|
39048
|
+
|
|
38423
39049
|
# Parameters defining the redirect action that is used as the exceed action.
|
|
38424
39050
|
# Cannot be specified if the exceed action is not redirect.
|
|
38425
39051
|
# Corresponds to the JSON property `exceedRedirectOptions`
|
|
@@ -38443,11 +39069,37 @@ module Google
|
|
|
38443
39069
|
@enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
|
|
38444
39070
|
@enforce_on_key_name = args[:enforce_on_key_name] if args.key?(:enforce_on_key_name)
|
|
38445
39071
|
@exceed_action = args[:exceed_action] if args.key?(:exceed_action)
|
|
39072
|
+
@exceed_action_rpc_status = args[:exceed_action_rpc_status] if args.key?(:exceed_action_rpc_status)
|
|
38446
39073
|
@exceed_redirect_options = args[:exceed_redirect_options] if args.key?(:exceed_redirect_options)
|
|
38447
39074
|
@rate_limit_threshold = args[:rate_limit_threshold] if args.key?(:rate_limit_threshold)
|
|
38448
39075
|
end
|
|
38449
39076
|
end
|
|
38450
39077
|
|
|
39078
|
+
# Simplified google.rpc.Status type (omitting details).
|
|
39079
|
+
class SecurityPolicyRuleRateLimitOptionsRpcStatus
|
|
39080
|
+
include Google::Apis::Core::Hashable
|
|
39081
|
+
|
|
39082
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
39083
|
+
# Corresponds to the JSON property `code`
|
|
39084
|
+
# @return [Fixnum]
|
|
39085
|
+
attr_accessor :code
|
|
39086
|
+
|
|
39087
|
+
# A developer-facing error message, which should be in English.
|
|
39088
|
+
# Corresponds to the JSON property `message`
|
|
39089
|
+
# @return [String]
|
|
39090
|
+
attr_accessor :message
|
|
39091
|
+
|
|
39092
|
+
def initialize(**args)
|
|
39093
|
+
update!(**args)
|
|
39094
|
+
end
|
|
39095
|
+
|
|
39096
|
+
# Update properties of this object
|
|
39097
|
+
def update!(**args)
|
|
39098
|
+
@code = args[:code] if args.key?(:code)
|
|
39099
|
+
@message = args[:message] if args.key?(:message)
|
|
39100
|
+
end
|
|
39101
|
+
end
|
|
39102
|
+
|
|
38451
39103
|
#
|
|
38452
39104
|
class SecurityPolicyRuleRateLimitOptionsThreshold
|
|
38453
39105
|
include Google::Apis::Core::Hashable
|