google-api-client 0.18.1 → 0.19.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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
  5. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
  6. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
  9. data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +56 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +20 -0
  13. data/generated/google/apis/calendar_v3.rb +1 -1
  14. data/generated/google/apis/calendar_v3/classes.rb +15 -4
  15. data/generated/google/apis/calendar_v3/representations.rb +1 -0
  16. data/generated/google/apis/calendar_v3/service.rb +8 -4
  17. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  18. data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
  19. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  20. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
  21. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
  22. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  23. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
  24. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
  25. data/generated/google/apis/compute_alpha.rb +1 -1
  26. data/generated/google/apis/compute_alpha/classes.rb +256 -63
  27. data/generated/google/apis/compute_alpha/representations.rb +44 -1
  28. data/generated/google/apis/compute_alpha/service.rb +217 -2
  29. data/generated/google/apis/compute_beta.rb +1 -1
  30. data/generated/google/apis/compute_beta/classes.rb +776 -46
  31. data/generated/google/apis/compute_beta/representations.rb +254 -0
  32. data/generated/google/apis/compute_beta/service.rb +1070 -13
  33. data/generated/google/apis/compute_v1.rb +1 -1
  34. data/generated/google/apis/compute_v1/classes.rb +83 -46
  35. data/generated/google/apis/compute_v1/service.rb +4 -2
  36. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  37. data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
  38. data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
  39. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  40. data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
  41. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  42. data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
  43. data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
  44. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  45. data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
  46. data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
  47. data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
  48. data/generated/google/apis/iam_v1.rb +1 -1
  49. data/generated/google/apis/iam_v1/classes.rb +0 -56
  50. data/generated/google/apis/iam_v1/representations.rb +0 -18
  51. data/generated/google/apis/logging_v2.rb +1 -1
  52. data/generated/google/apis/logging_v2/classes.rb +8 -6
  53. data/generated/google/apis/logging_v2beta1.rb +1 -1
  54. data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
  55. data/generated/google/apis/ml_v1.rb +1 -1
  56. data/generated/google/apis/ml_v1/classes.rb +22 -5
  57. data/generated/google/apis/ml_v1/service.rb +19 -5
  58. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  59. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  60. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  61. data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
  62. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  63. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  64. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
  65. data/generated/google/apis/serviceuser_v1.rb +1 -1
  66. data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
  67. data/generated/google/apis/sheets_v4.rb +1 -1
  68. data/generated/google/apis/sheets_v4/classes.rb +283 -0
  69. data/generated/google/apis/sheets_v4/representations.rb +90 -0
  70. data/generated/google/apis/speech_v1.rb +1 -1
  71. data/generated/google/apis/storage_v1.rb +1 -1
  72. data/generated/google/apis/storage_v1/classes.rb +115 -4
  73. data/generated/google/apis/storage_v1/representations.rb +23 -0
  74. data/generated/google/apis/storage_v1/service.rb +44 -1
  75. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  76. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
  77. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  78. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  79. data/lib/google/apis/version.rb +1 -1
  80. metadata +2 -6
  81. data/generated/google/apis/consumersurveys_v2.rb +0 -40
  82. data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
  83. data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
  84. data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeAlpha
27
27
  VERSION = 'Alpha'
28
- REVISION = '20171127'
28
+ REVISION = '20171207'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -49,7 +49,8 @@ module Google
49
49
  end
50
50
  end
51
51
 
52
- # An Accelerator Type resource.
52
+ # An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (==
53
+ # resource_for v1.acceleratorTypes ==)
53
54
  class AcceleratorType
54
55
  include Google::Apis::Core::Hashable
55
56
 
@@ -532,7 +533,9 @@ module Google
532
533
  end
533
534
  end
534
535
 
535
- # A reserved address resource.
536
+ # A reserved address resource. (== resource_for beta.addresses ==) (==
537
+ # resource_for v1.addresses ==) (== resource_for beta.globalAddresses ==) (==
538
+ # resource_for v1.globalAddresses ==)
536
539
  class Address
537
540
  include Google::Apis::Core::Hashable
538
541
 
@@ -630,9 +633,9 @@ module Google
630
633
  # @return [String]
631
634
  attr_accessor :status
632
635
 
633
- # For external addresses, this field should not be used.
634
636
  # The URL of the subnetwork in which to reserve the address. If an IP address is
635
- # specified, it must be within the subnetwork's IP range.
637
+ # specified, it must be within the subnetwork's IP range. This field can only be
638
+ # used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes.
636
639
  # Corresponds to the JSON property `subnetwork`
637
640
  # @return [String]
638
641
  attr_accessor :subnetwork
@@ -1065,6 +1068,13 @@ module Google
1065
1068
  # @return [Fixnum]
1066
1069
  attr_accessor :disk_size_gb
1067
1070
 
1071
+ # A list of features to enable on the guest operating system. Applicable only
1072
+ # for bootable images. Read Enabling guest operating system features to see a
1073
+ # list of available options.
1074
+ # Corresponds to the JSON property `guestOsFeatures`
1075
+ # @return [Array<Google::Apis::ComputeAlpha::GuestOsFeature>]
1076
+ attr_accessor :guest_os_features
1077
+
1068
1078
  # [Output Only] A zero-based index to this disk, where 0 is reserved for the
1069
1079
  # boot disk. If you have many disks attached to an instance, each disk would
1070
1080
  # have a unique index number.
@@ -1107,6 +1117,14 @@ module Google
1107
1117
  # @return [String]
1108
1118
  attr_accessor :mode
1109
1119
 
1120
+ # For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field
1121
+ # is set to PRESERVED iff the LocalSSD data has been saved to a persistent
1122
+ # location by customer request. (see the discard_local_ssd option on Stop/
1123
+ # Suspend). Read-only in the api.
1124
+ # Corresponds to the JSON property `savedState`
1125
+ # @return [String]
1126
+ attr_accessor :saved_state
1127
+
1110
1128
  # Specifies a valid partial or full URL to an existing Persistent Disk resource.
1111
1129
  # When creating a new instance, one of initializeParams.sourceImage or disks.
1112
1130
  # source is required except for local SSD.
@@ -1135,12 +1153,14 @@ module Google
1135
1153
  @device_name = args[:device_name] if args.key?(:device_name)
1136
1154
  @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
1137
1155
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1156
+ @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
1138
1157
  @index = args[:index] if args.key?(:index)
1139
1158
  @initialize_params = args[:initialize_params] if args.key?(:initialize_params)
1140
1159
  @interface = args[:interface] if args.key?(:interface)
1141
1160
  @kind = args[:kind] if args.key?(:kind)
1142
1161
  @licenses = args[:licenses] if args.key?(:licenses)
1143
1162
  @mode = args[:mode] if args.key?(:mode)
1163
+ @saved_state = args[:saved_state] if args.key?(:saved_state)
1144
1164
  @source = args[:source] if args.key?(:source)
1145
1165
  @type = args[:type] if args.key?(:type)
1146
1166
  end
@@ -1327,7 +1347,9 @@ module Google
1327
1347
  # Represents an Autoscaler resource. Autoscalers allow you to automatically
1328
1348
  # scale virtual machine instances in managed instance groups according to an
1329
1349
  # autoscaling policy that you define. For more information, read Autoscaling
1330
- # Groups of Instances.
1350
+ # Groups of Instances. (== resource_for beta.autoscalers ==) (== resource_for v1.
1351
+ # autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for
1352
+ # v1.regionAutoscalers ==)
1331
1353
  class Autoscaler
1332
1354
  include Google::Apis::Core::Hashable
1333
1355
 
@@ -1368,6 +1390,14 @@ module Google
1368
1390
  # @return [String]
1369
1391
  attr_accessor :name
1370
1392
 
1393
+ # [Output Only] Target recommended MIG size computed by autoscaler. Autoscaler
1394
+ # calculates recommended MIG size even when autoscaling policy mode is different
1395
+ # from ON. This field is empty when autoscaler is not connected to the existing
1396
+ # managed instance group or autoscaler did not generate its first prediction.
1397
+ # Corresponds to the JSON property `recommendedSize`
1398
+ # @return [Fixnum]
1399
+ attr_accessor :recommended_size
1400
+
1371
1401
  # [Output Only] URL of the region where the instance group resides (for
1372
1402
  # autoscalers living in regional scope).
1373
1403
  # Corresponds to the JSON property `region`
@@ -1414,6 +1444,7 @@ module Google
1414
1444
  @id = args[:id] if args.key?(:id)
1415
1445
  @kind = args[:kind] if args.key?(:kind)
1416
1446
  @name = args[:name] if args.key?(:name)
1447
+ @recommended_size = args[:recommended_size] if args.key?(:recommended_size)
1417
1448
  @region = args[:region] if args.key?(:region)
1418
1449
  @self_link = args[:self_link] if args.key?(:self_link)
1419
1450
  @status = args[:status] if args.key?(:status)
@@ -2401,7 +2432,8 @@ module Google
2401
2432
  end
2402
2433
 
2403
2434
  # A BackendService resource. This resource defines a group of backend virtual
2404
- # machines and their serving capacity.
2435
+ # machines and their serving capacity. (== resource_for v1.backendService ==) (==
2436
+ # resource_for beta.backendService ==)
2405
2437
  class BackendService
2406
2438
  include Google::Apis::Core::Hashable
2407
2439
 
@@ -3303,7 +3335,8 @@ module Google
3303
3335
  # Committed use discounts are subject to Google Cloud Platform's Service
3304
3336
  # Specific Terms. By purchasing a committed use discount, you agree to these
3305
3337
  # terms. Committed use discounts will not renew, so you must purchase a new
3306
- # commitment to continue receiving discounts.
3338
+ # commitment to continue receiving discounts. (== resource_for beta.commitments =
3339
+ # =) (== resource_for v1.commitments ==)
3307
3340
  class Commitment
3308
3341
  include Google::Apis::Core::Hashable
3309
3342
 
@@ -3963,7 +3996,7 @@ module Google
3963
3996
  end
3964
3997
  end
3965
3998
 
3966
- # A Disk resource.
3999
+ # A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==)
3967
4000
  class Disk
3968
4001
  include Google::Apis::Core::Hashable
3969
4002
 
@@ -3983,14 +4016,9 @@ module Google
3983
4016
  # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
3984
4017
  attr_accessor :disk_encryption_key
3985
4018
 
3986
- # A list of features to enable on the guest OS. Applicable for bootable disks
3987
- # only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE,
3988
- # which allows each virtual CPU to have its own queue. For Windows disks, you
3989
- # can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.
3990
- # 1621 or higher. Linux disks with kernel versions 3.17 and higher will support
3991
- # VIRTIO_SCSI_MULTIQUEUE.
3992
- # For newer Windows images, the server might also populate this property with
3993
- # the value WINDOWS to indicate that this is a Windows image.
4019
+ # A list of features to enable on the guest operating system. Applicable only
4020
+ # for bootable images. Read Enabling guest operating system features to see a
4021
+ # list of available options.
3994
4022
  # Corresponds to the JSON property `guestOsFeatures`
3995
4023
  # @return [Array<Google::Apis::ComputeAlpha::GuestOsFeature>]
3996
4024
  attr_accessor :guest_os_features
@@ -4527,7 +4555,8 @@ module Google
4527
4555
  end
4528
4556
  end
4529
4557
 
4530
- # A DiskType resource.
4558
+ # A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.
4559
+ # diskTypes ==)
4531
4560
  class DiskType
4532
4561
  include Google::Apis::Core::Hashable
4533
4562
 
@@ -5534,7 +5563,11 @@ module Google
5534
5563
 
5535
5564
  # A ForwardingRule resource. A ForwardingRule resource specifies which pool of
5536
5565
  # target virtual machines to forward a packet to if it matches the given [
5537
- # IPAddress, IPProtocol, ports] tuple.
5566
+ # IPAddress, IPProtocol, ports] tuple. (== resource_for beta.forwardingRules ==)
5567
+ # (== resource_for v1.forwardingRules ==) (== resource_for beta.
5568
+ # globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (==
5569
+ # resource_for beta.regionForwardingRules ==) (== resource_for v1.
5570
+ # regionForwardingRules ==)
5538
5571
  class ForwardingRule
5539
5572
  include Google::Apis::Core::Hashable
5540
5573
 
@@ -6210,9 +6243,8 @@ module Google
6210
6243
  class GuestOsFeature
6211
6244
  include Google::Apis::Core::Hashable
6212
6245
 
6213
- # The type of supported feature. Currently only VIRTIO_SCSI_MULTIQUEUE is
6214
- # supported. For newer Windows images, the server might also populate this
6215
- # property with the value WINDOWS to indicate that this is a Windows image.
6246
+ # The ID of a supported feature. Read Enabling guest operating system features
6247
+ # to see a list of available options.
6216
6248
  # Corresponds to the JSON property `type`
6217
6249
  # @return [String]
6218
6250
  attr_accessor :type
@@ -8177,7 +8209,8 @@ module Google
8177
8209
  end
8178
8210
  end
8179
8211
 
8180
- # An Image resource.
8212
+ # An Image resource. (== resource_for beta.images ==) (== resource_for v1.images
8213
+ # ==)
8181
8214
  class Image
8182
8215
  include Google::Apis::Core::Hashable
8183
8216
 
@@ -8215,14 +8248,9 @@ module Google
8215
8248
  # @return [String]
8216
8249
  attr_accessor :family
8217
8250
 
8218
- # A list of features to enable on the guest OS. Applicable for bootable images
8219
- # only. Currently, only one feature can be enabled, VIRTIO_SCSI_MULTIQUEUE,
8220
- # which allows each virtual CPU to have its own queue. For Windows images, you
8221
- # can only enable VIRTIO_SCSI_MULTIQUEUE on images with driver version 1.2.0.
8222
- # 1621 or higher. Linux images with kernel versions 3.17 and higher will support
8223
- # VIRTIO_SCSI_MULTIQUEUE.
8224
- # For newer Windows images, the server might also populate this property with
8225
- # the value WINDOWS to indicate that this is a Windows image.
8251
+ # A list of features to enable on the guest operating system. Applicable only
8252
+ # for bootable images. Read Enabling guest operating system features to see a
8253
+ # list of available options.
8226
8254
  # Corresponds to the JSON property `guestOsFeatures`
8227
8255
  # @return [Array<Google::Apis::ComputeAlpha::GuestOsFeature>]
8228
8256
  attr_accessor :guest_os_features
@@ -8559,7 +8587,8 @@ module Google
8559
8587
  end
8560
8588
  end
8561
8589
 
8562
- # An Instance resource.
8590
+ # An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.
8591
+ # instances ==)
8563
8592
  class Instance
8564
8593
  include Google::Apis::Core::Hashable
8565
8594
 
@@ -8906,7 +8935,9 @@ module Google
8906
8935
  end
8907
8936
  end
8908
8937
 
8909
- #
8938
+ # InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.
8939
+ # instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (==
8940
+ # resource_for v1.regionInstanceGroups ==)
8910
8941
  class InstanceGroup
8911
8942
  include Google::Apis::Core::Hashable
8912
8943
 
@@ -9247,7 +9278,10 @@ module Google
9247
9278
  end
9248
9279
  end
9249
9280
 
9250
- # An Instance Group Manager resource.
9281
+ # An Instance Group Manager resource. (== resource_for beta.
9282
+ # instanceGroupManagers ==) (== resource_for v1.instanceGroupManagers ==) (==
9283
+ # resource_for beta.regionInstanceGroupManagers ==) (== resource_for v1.
9284
+ # regionInstanceGroupManagers ==)
9251
9285
  class InstanceGroupManager
9252
9286
  include Google::Apis::Core::Hashable
9253
9287
 
@@ -11153,7 +11187,8 @@ module Google
11153
11187
  end
11154
11188
  end
11155
11189
 
11156
- # An Instance Template resource.
11190
+ # An Instance Template resource. (== resource_for beta.instanceTemplates ==) (==
11191
+ # resource_for v1.instanceTemplates ==)
11157
11192
  class InstanceTemplate
11158
11193
  include Google::Apis::Core::Hashable
11159
11194
 
@@ -11422,6 +11457,36 @@ module Google
11422
11457
  end
11423
11458
  end
11424
11459
 
11460
+ #
11461
+ class InstancesResumeRequest
11462
+ include Google::Apis::Core::Hashable
11463
+
11464
+ # Array of disks associated with this instance that are protected with a
11465
+ # customer-supplied encryption key.
11466
+ # In order to resume the instance, the disk url and its corresponding key must
11467
+ # be provided.
11468
+ # If the disk is not protected with a customer-supplied encryption key it should
11469
+ # not be specified.
11470
+ # Corresponds to the JSON property `disks`
11471
+ # @return [Array<Google::Apis::ComputeAlpha::CustomerEncryptionKeyProtectedDisk>]
11472
+ attr_accessor :disks
11473
+
11474
+ # Represents a customer-supplied encryption key
11475
+ # Corresponds to the JSON property `instanceEncryptionKey`
11476
+ # @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
11477
+ attr_accessor :instance_encryption_key
11478
+
11479
+ def initialize(**args)
11480
+ update!(**args)
11481
+ end
11482
+
11483
+ # Update properties of this object
11484
+ def update!(**args)
11485
+ @disks = args[:disks] if args.key?(:disks)
11486
+ @instance_encryption_key = args[:instance_encryption_key] if args.key?(:instance_encryption_key)
11487
+ end
11488
+ end
11489
+
11425
11490
  #
11426
11491
  class InstancesScopedList
11427
11492
  include Google::Apis::Core::Hashable
@@ -11657,7 +11722,8 @@ module Google
11657
11722
 
11658
11723
  # Represents an Interconnects resource. The Interconnects resource is a
11659
11724
  # dedicated connection between Google's network and your on-premises network.
11660
- # For more information, see the Dedicated overview page.
11725
+ # For more information, see the Dedicated overview page. (== resource_for v1.
11726
+ # interconnects ==) (== resource_for beta.interconnects ==)
11661
11727
  class Interconnect
11662
11728
  include Google::Apis::Core::Hashable
11663
11729
 
@@ -11734,6 +11800,25 @@ module Google
11734
11800
  # @return [String]
11735
11801
  attr_accessor :kind
11736
11802
 
11803
+ # A fingerprint for the labels being applied to this Interconnect, which is
11804
+ # essentially a hash of the labels set used for optimistic locking. The
11805
+ # fingerprint is initially generated by Compute Engine and changes after every
11806
+ # request to modify or update labels. You must always provide an up-to-date
11807
+ # fingerprint hash in order to update or change labels.
11808
+ # To see the latest fingerprint, make a get() request to retrieve an
11809
+ # Interconnect.
11810
+ # Corresponds to the JSON property `labelFingerprint`
11811
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
11812
+ # @return [String]
11813
+ attr_accessor :label_fingerprint
11814
+
11815
+ # Labels to apply to this Interconnect resource. These can be later modified by
11816
+ # the setLabels method. Each label key/value must comply with RFC1035. Label
11817
+ # values may be empty.
11818
+ # Corresponds to the JSON property `labels`
11819
+ # @return [Hash<String,String>]
11820
+ attr_accessor :labels
11821
+
11737
11822
  # Type of link requested. This field indicates speed of each of the links in the
11738
11823
  # bundle, not the entire bundle. Only 10G per link is allowed for a dedicated
11739
11824
  # interconnect. Options: Ethernet_10G_LR
@@ -11794,6 +11879,12 @@ module Google
11794
11879
  # @return [String]
11795
11880
  attr_accessor :self_link
11796
11881
 
11882
+ # [Output Only] The current state of whether or not this Interconnect is
11883
+ # functional.
11884
+ # Corresponds to the JSON property `state`
11885
+ # @return [String]
11886
+ attr_accessor :state
11887
+
11797
11888
  def initialize(**args)
11798
11889
  update!(**args)
11799
11890
  end
@@ -11812,6 +11903,8 @@ module Google
11812
11903
  @interconnect_attachments = args[:interconnect_attachments] if args.key?(:interconnect_attachments)
11813
11904
  @interconnect_type = args[:interconnect_type] if args.key?(:interconnect_type)
11814
11905
  @kind = args[:kind] if args.key?(:kind)
11906
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
11907
+ @labels = args[:labels] if args.key?(:labels)
11815
11908
  @link_type = args[:link_type] if args.key?(:link_type)
11816
11909
  @location = args[:location] if args.key?(:location)
11817
11910
  @name = args[:name] if args.key?(:name)
@@ -11821,11 +11914,13 @@ module Google
11821
11914
  @provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
11822
11915
  @requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
11823
11916
  @self_link = args[:self_link] if args.key?(:self_link)
11917
+ @state = args[:state] if args.key?(:state)
11824
11918
  end
11825
11919
  end
11826
11920
 
11827
11921
  # Represents an InterconnectAttachment (VLAN attachment) resource. For more
11828
- # information, see Creating VLAN Attachments.
11922
+ # information, see Creating VLAN Attachments. (== resource_for beta.
11923
+ # interconnectAttachments ==) (== resource_for v1.interconnectAttachments ==)
11829
11924
  class InterconnectAttachment
11830
11925
  include Google::Apis::Core::Hashable
11831
11926
 
@@ -11903,6 +11998,25 @@ module Google
11903
11998
  # @return [String]
11904
11999
  attr_accessor :kind
11905
12000
 
12001
+ # A fingerprint for the labels being applied to this InterconnectAttachment,
12002
+ # which is essentially a hash of the labels set used for optimistic locking. The
12003
+ # fingerprint is initially generated by Compute Engine and changes after every
12004
+ # request to modify or update labels. You must always provide an up-to-date
12005
+ # fingerprint hash in order to update or change labels.
12006
+ # To see the latest fingerprint, make a get() request to retrieve an
12007
+ # InterconnectAttachment.
12008
+ # Corresponds to the JSON property `labelFingerprint`
12009
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
12010
+ # @return [String]
12011
+ attr_accessor :label_fingerprint
12012
+
12013
+ # Labels to apply to this InterconnectAttachment resource. These can be later
12014
+ # modified by the setLabels method. Each label key/value must comply with
12015
+ # RFC1035. Label values may be empty.
12016
+ # Corresponds to the JSON property `labels`
12017
+ # @return [Hash<String,String>]
12018
+ attr_accessor :labels
12019
+
11906
12020
  # Name of the resource. Provided by the client when the resource is created. The
11907
12021
  # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
11908
12022
  # name must be 1-63 characters long and match the regular expression [a-z]([-a-
@@ -11926,6 +12040,21 @@ module Google
11926
12040
  # @return [String]
11927
12041
  attr_accessor :pairing_key
11928
12042
 
12043
+ # [Output only for PARTNER. Input for PARTNER_PROVIDER. Not present for
12044
+ # DEDICATED] BGP ASN of the Partner. A layer 3 Partner should supply this if
12045
+ # they configured BGP on behalf of the customer.
12046
+ # Corresponds to the JSON property `partnerAsn`
12047
+ # @return [Fixnum]
12048
+ attr_accessor :partner_asn
12049
+
12050
+ # Informational metadata about Partner attachments from Partners to display to
12051
+ # customers. These fields are propagated from PARTNER_PROVIDER attachments to
12052
+ # their corresponding PARTNER attachments. Only mutable for PARTNER_PROVIDER
12053
+ # type, output-only for PARTNER, not available for DEDICATED.
12054
+ # Corresponds to the JSON property `partnerMetadata`
12055
+ # @return [Google::Apis::ComputeAlpha::InterconnectAttachmentPartnerMetadata]
12056
+ attr_accessor :partner_metadata
12057
+
11929
12058
  # Information for an interconnect attachment when this belongs to an
11930
12059
  # interconnect of type DEDICATED.
11931
12060
  # Corresponds to the JSON property `privateInterconnectInfo`
@@ -11962,9 +12091,9 @@ module Google
11962
12091
  # @return [String]
11963
12092
  attr_accessor :type
11964
12093
 
11965
- # Available only for DEDICATED and PARTNER_PROVIDER New field: VLAN. Only
11966
- # specified at creation time. This field is mapped to ieee_802_1q_tag in the
11967
- # resource proto.
12094
+ # Available only for DEDICATED and PARTNER_PROVIDER. Desired VLAN tag for this
12095
+ # attachment, in the range 2-4094. This field refers to 802.1q VLAN tag, also
12096
+ # known as IEEE 802.1Q Only specified at creation time.
11968
12097
  # Corresponds to the JSON property `vlanTag8021q`
11969
12098
  # @return [Fixnum]
11970
12099
  attr_accessor :vlan_tag8021q
@@ -11987,9 +12116,13 @@ module Google
11987
12116
  @id = args[:id] if args.key?(:id)
11988
12117
  @interconnect = args[:interconnect] if args.key?(:interconnect)
11989
12118
  @kind = args[:kind] if args.key?(:kind)
12119
+ @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
12120
+ @labels = args[:labels] if args.key?(:labels)
11990
12121
  @name = args[:name] if args.key?(:name)
11991
12122
  @operational_status = args[:operational_status] if args.key?(:operational_status)
11992
12123
  @pairing_key = args[:pairing_key] if args.key?(:pairing_key)
12124
+ @partner_asn = args[:partner_asn] if args.key?(:partner_asn)
12125
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
11993
12126
  @private_interconnect_info = args[:private_interconnect_info] if args.key?(:private_interconnect_info)
11994
12127
  @region = args[:region] if args.key?(:region)
11995
12128
  @router = args[:router] if args.key?(:router)
@@ -12237,6 +12370,45 @@ module Google
12237
12370
  end
12238
12371
  end
12239
12372
 
12373
+ # Informational metadata about Partner attachments from Partners to display to
12374
+ # customers. These fields are propagated from PARTNER_PROVIDER attachments to
12375
+ # their corresponding PARTNER attachments. Only mutable for PARTNER_PROVIDER
12376
+ # type, output-only for PARTNER, not available for DEDICATED.
12377
+ class InterconnectAttachmentPartnerMetadata
12378
+ include Google::Apis::Core::Hashable
12379
+
12380
+ # Plain text name of the Interconnect this attachment is connected to, as
12381
+ # displayed in the Partner?s portal. For instance ?Chicago 1?. This value may be
12382
+ # validated to match approved Partner values.
12383
+ # Corresponds to the JSON property `interconnectName`
12384
+ # @return [String]
12385
+ attr_accessor :interconnect_name
12386
+
12387
+ # Plain text name of the Partner providing this attachment. This value may be
12388
+ # validated to match approved Partner values.
12389
+ # Corresponds to the JSON property `partnerName`
12390
+ # @return [String]
12391
+ attr_accessor :partner_name
12392
+
12393
+ # URL of the Partner?s portal for this Attachment. Partners may customise this
12394
+ # to be a deep-link to the specific resource on the Partner portal. This value
12395
+ # may be validated to match approved Partner values.
12396
+ # Corresponds to the JSON property `portalUrl`
12397
+ # @return [String]
12398
+ attr_accessor :portal_url
12399
+
12400
+ def initialize(**args)
12401
+ update!(**args)
12402
+ end
12403
+
12404
+ # Update properties of this object
12405
+ def update!(**args)
12406
+ @interconnect_name = args[:interconnect_name] if args.key?(:interconnect_name)
12407
+ @partner_name = args[:partner_name] if args.key?(:partner_name)
12408
+ @portal_url = args[:portal_url] if args.key?(:portal_url)
12409
+ end
12410
+ end
12411
+
12240
12412
  # Information for an interconnect attachment when this belongs to an
12241
12413
  # interconnect of type DEDICATED.
12242
12414
  class InterconnectAttachmentPrivateInfo
@@ -13421,7 +13593,8 @@ module Google
13421
13593
  end
13422
13594
  end
13423
13595
 
13424
- # A Machine Type resource.
13596
+ # A Machine Type resource. (== resource_for v1.machineTypes ==) (== resource_for
13597
+ # beta.machineTypes ==)
13425
13598
  class MachineType
13426
13599
  include Google::Apis::Core::Hashable
13427
13600
 
@@ -14614,7 +14787,8 @@ module Google
14614
14787
  end
14615
14788
 
14616
14789
  # Represents a Network resource. Read Networks and Firewalls for more
14617
- # information.
14790
+ # information. (== resource_for v1.networks ==) (== resource_for beta.networks ==
14791
+ # )
14618
14792
  class Network
14619
14793
  include Google::Apis::Core::Hashable
14620
14794
 
@@ -15763,7 +15937,11 @@ module Google
15763
15937
  end
15764
15938
  end
15765
15939
 
15766
- # An Operation resource, used to manage asynchronous API requests.
15940
+ # An Operation resource, used to manage asynchronous API requests. (==
15941
+ # resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
15942
+ # (== resource_for v1.regionOperations ==) (== resource_for beta.
15943
+ # regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
15944
+ # beta.zoneOperations ==)
15767
15945
  class Operation
15768
15946
  include Google::Apis::Core::Hashable
15769
15947
 
@@ -16562,7 +16740,8 @@ module Google
16562
16740
  end
16563
16741
 
16564
16742
  # A Project resource. Projects can only be created in the Google Cloud Platform
16565
- # Console. Unless marked otherwise, values can only be modified in the console.
16743
+ # Console. Unless marked otherwise, values can only be modified in the console. (
16744
+ # == resource_for v1.projects ==) (== resource_for beta.projects ==)
16566
16745
  class Project
16567
16746
  include Google::Apis::Core::Hashable
16568
16747
 
@@ -16864,7 +17043,8 @@ module Google
16864
17043
  end
16865
17044
  end
16866
17045
 
16867
- # Region resource.
17046
+ # Region resource. (== resource_for beta.regions ==) (== resource_for v1.regions
17047
+ # ==)
16868
17048
  class Region
16869
17049
  include Google::Apis::Core::Hashable
16870
17050
 
@@ -18144,7 +18324,7 @@ module Google
18144
18324
  # either to another instance destination, an instance gateway, or a Google
18145
18325
  # Compute Engine-operated gateway.
18146
18326
  # Packets that do not match any route in the sending instance's routing table
18147
- # are dropped.
18327
+ # are dropped. (== resource_for beta.routes ==) (== resource_for v1.routes ==)
18148
18328
  class Route
18149
18329
  include Google::Apis::Core::Hashable
18150
18330
 
@@ -19898,11 +20078,6 @@ module Google
19898
20078
  # @return [Array<String>]
19899
20079
  attr_accessor :src_ip_ranges
19900
20080
 
19901
- # Match by country or region code.
19902
- # Corresponds to the JSON property `srcRegionCodes`
19903
- # @return [Array<String>]
19904
- attr_accessor :src_region_codes
19905
-
19906
20081
  # Preconfigured versioned expression. If this field is specified, config must
19907
20082
  # also be specified. Available preconfigured expressions along with their
19908
20083
  # requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range
@@ -19920,7 +20095,6 @@ module Google
19920
20095
  @config = args[:config] if args.key?(:config)
19921
20096
  @expr = args[:expr] if args.key?(:expr)
19922
20097
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
19923
- @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
19924
20098
  @versioned_expr = args[:versioned_expr] if args.key?(:versioned_expr)
19925
20099
  end
19926
20100
  end
@@ -20074,7 +20248,8 @@ module Google
20074
20248
  end
20075
20249
  end
20076
20250
 
20077
- # A persistent disk snapshot resource.
20251
+ # A persistent disk snapshot resource. (== resource_for beta.snapshots ==) (==
20252
+ # resource_for v1.snapshots ==)
20078
20253
  class Snapshot
20079
20254
  include Google::Apis::Core::Hashable
20080
20255
 
@@ -20192,6 +20367,11 @@ module Google
20192
20367
  # @return [String]
20193
20368
  attr_accessor :storage_bytes_status
20194
20369
 
20370
+ # GCS bucket storage location of the snapshot (regional or multi-regional).
20371
+ # Corresponds to the JSON property `storageLocations`
20372
+ # @return [Array<String>]
20373
+ attr_accessor :storage_locations
20374
+
20195
20375
  def initialize(**args)
20196
20376
  update!(**args)
20197
20377
  end
@@ -20216,6 +20396,7 @@ module Google
20216
20396
  @status = args[:status] if args.key?(:status)
20217
20397
  @storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
20218
20398
  @storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
20399
+ @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
20219
20400
  end
20220
20401
  end
20221
20402
 
@@ -20361,7 +20542,8 @@ module Google
20361
20542
 
20362
20543
  # An SslCertificate resource. This resource provides a mechanism to upload an
20363
20544
  # SSL key and certificate to the load balancer to serve secure connections from
20364
- # the user.
20545
+ # the user. (== resource_for beta.sslCertificates ==) (== resource_for v1.
20546
+ # sslCertificates ==)
20365
20547
  class SslCertificate
20366
20548
  include Google::Apis::Core::Hashable
20367
20549
 
@@ -20935,7 +21117,8 @@ module Google
20935
21117
  end
20936
21118
  end
20937
21119
 
20938
- # A Subnetwork resource.
21120
+ # A Subnetwork resource. (== resource_for beta.subnetworks ==) (== resource_for
21121
+ # v1.subnetworks ==)
20939
21122
  class Subnetwork
20940
21123
  include Google::Apis::Core::Hashable
20941
21124
 
@@ -21571,7 +21754,9 @@ module Google
21571
21754
  end
21572
21755
  end
21573
21756
 
21574
- # A TargetHttpProxy resource. This resource defines an HTTP proxy.
21757
+ # A TargetHttpProxy resource. This resource defines an HTTP proxy. (==
21758
+ # resource_for beta.targetHttpProxies ==) (== resource_for v1.targetHttpProxies =
21759
+ # =)
21575
21760
  class TargetHttpProxy
21576
21761
  include Google::Apis::Core::Hashable
21577
21762
 
@@ -21792,7 +21977,9 @@ module Google
21792
21977
  end
21793
21978
  end
21794
21979
 
21795
- # A TargetHttpsProxy resource. This resource defines an HTTPS proxy.
21980
+ # A TargetHttpsProxy resource. This resource defines an HTTPS proxy. (==
21981
+ # resource_for beta.targetHttpsProxies ==) (== resource_for v1.
21982
+ # targetHttpsProxies ==)
21796
21983
  class TargetHttpsProxy
21797
21984
  include Google::Apis::Core::Hashable
21798
21985
 
@@ -22014,7 +22201,8 @@ module Google
22014
22201
  end
22015
22202
 
22016
22203
  # A TargetInstance resource. This resource defines an endpoint instance that
22017
- # terminates traffic of certain protocols.
22204
+ # terminates traffic of certain protocols. (== resource_for beta.targetInstances
22205
+ # ==) (== resource_for v1.targetInstances ==)
22018
22206
  class TargetInstance
22019
22207
  include Google::Apis::Core::Hashable
22020
22208
 
@@ -22423,7 +22611,8 @@ module Google
22423
22611
  end
22424
22612
 
22425
22613
  # A TargetPool resource. This resource defines a pool of instances, an
22426
- # associated HttpHealthCheck resource, and the fallback target pool.
22614
+ # associated HttpHealthCheck resource, and the fallback target pool. (==
22615
+ # resource_for beta.targetPools ==) (== resource_for v1.targetPools ==)
22427
22616
  class TargetPool
22428
22617
  include Google::Apis::Core::Hashable
22429
22618
 
@@ -23062,7 +23251,8 @@ module Google
23062
23251
  end
23063
23252
  end
23064
23253
 
23065
- # A TargetSslProxy resource. This resource defines an SSL proxy.
23254
+ # A TargetSslProxy resource. This resource defines an SSL proxy. (==
23255
+ # resource_for beta.targetSslProxies ==) (== resource_for v1.targetSslProxies ==)
23066
23256
  class TargetSslProxy
23067
23257
  include Google::Apis::Core::Hashable
23068
23258
 
@@ -23310,7 +23500,8 @@ module Google
23310
23500
  end
23311
23501
  end
23312
23502
 
23313
- # A TargetTcpProxy resource. This resource defines a TCP proxy.
23503
+ # A TargetTcpProxy resource. This resource defines a TCP proxy. (== resource_for
23504
+ # beta.targetTcpProxies ==) (== resource_for v1.targetTcpProxies ==)
23314
23505
  class TargetTcpProxy
23315
23506
  include Google::Apis::Core::Hashable
23316
23507
 
@@ -23497,7 +23688,8 @@ module Google
23497
23688
  end
23498
23689
  end
23499
23690
 
23500
- # Represents a Target VPN gateway resource.
23691
+ # Represents a Target VPN gateway resource. (== resource_for beta.
23692
+ # targetVpnGateways ==) (== resource_for v1.targetVpnGateways ==)
23501
23693
  class TargetVpnGateway
23502
23694
  include Google::Apis::Core::Hashable
23503
23695
 
@@ -24605,7 +24797,8 @@ module Google
24605
24797
  end
24606
24798
  end
24607
24799
 
24608
- #
24800
+ # VPN tunnel resource. (== resource_for beta.vpnTunnels ==) (== resource_for v1.
24801
+ # vpnTunnels ==)
24609
24802
  class VpnTunnel
24610
24803
  include Google::Apis::Core::Hashable
24611
24804
 
@@ -25223,7 +25416,7 @@ module Google
25223
25416
  end
25224
25417
  end
25225
25418
 
25226
- # A Zone resource.
25419
+ # A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
25227
25420
  class Zone
25228
25421
  include Google::Apis::Core::Hashable
25229
25422