google-api-client 0.24.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +47 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +41 -0
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/calendar_v3.rb +10 -1
  9. data/generated/google/apis/classroom_v1.rb +1 -1
  10. data/generated/google/apis/classroom_v1/classes.rb +18 -15
  11. data/generated/google/apis/cloudkms_v1.rb +3 -6
  12. data/generated/google/apis/cloudkms_v1/service.rb +2 -5
  13. data/generated/google/apis/compute_alpha.rb +1 -1
  14. data/generated/google/apis/compute_alpha/classes.rb +156 -144
  15. data/generated/google/apis/compute_alpha/representations.rb +66 -66
  16. data/generated/google/apis/compute_alpha/service.rb +7 -7
  17. data/generated/google/apis/compute_beta.rb +1 -1
  18. data/generated/google/apis/compute_beta/classes.rb +221 -10
  19. data/generated/google/apis/compute_beta/representations.rb +111 -2
  20. data/generated/google/apis/compute_beta/service.rb +39 -3
  21. data/generated/google/apis/compute_v1.rb +1 -1
  22. data/generated/google/apis/compute_v1/service.rb +3 -3
  23. data/generated/google/apis/container_v1.rb +1 -1
  24. data/generated/google/apis/container_v1/classes.rb +56 -0
  25. data/generated/google/apis/container_v1/representations.rb +19 -0
  26. data/generated/google/apis/container_v1beta1.rb +1 -1
  27. data/generated/google/apis/container_v1beta1/classes.rb +9 -6
  28. data/generated/google/apis/content_v2.rb +1 -1
  29. data/generated/google/apis/content_v2/classes.rb +76 -5
  30. data/generated/google/apis/content_v2/representations.rb +42 -0
  31. data/generated/google/apis/content_v2/service.rb +40 -0
  32. data/generated/google/apis/content_v2sandbox.rb +1 -1
  33. data/generated/google/apis/content_v2sandbox/classes.rb +70 -0
  34. data/generated/google/apis/content_v2sandbox/representations.rb +42 -0
  35. data/generated/google/apis/content_v2sandbox/service.rb +40 -0
  36. data/generated/google/apis/dataproc_v1.rb +1 -1
  37. data/generated/google/apis/dataproc_v1/classes.rb +1 -1
  38. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  39. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -1
  40. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  41. data/generated/google/apis/dataproc_v1beta2/service.rb +8 -2
  42. data/generated/google/apis/dialogflow_v2.rb +1 -1
  43. data/generated/google/apis/dialogflow_v2/classes.rb +23 -17
  44. data/generated/google/apis/dialogflow_v2/service.rb +9 -8
  45. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  46. data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -17
  47. data/generated/google/apis/dialogflow_v2beta1/service.rb +9 -8
  48. data/generated/google/apis/dlp_v2.rb +1 -1
  49. data/generated/google/apis/dlp_v2/classes.rb +178 -21
  50. data/generated/google/apis/dlp_v2/representations.rb +68 -0
  51. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  52. data/generated/google/apis/firestore_v1beta2/classes.rb +102 -0
  53. data/generated/google/apis/firestore_v1beta2/representations.rb +47 -0
  54. data/generated/google/apis/firestore_v1beta2/service.rb +144 -0
  55. data/generated/google/apis/games_v1.rb +1 -1
  56. data/generated/google/apis/games_v1/service.rb +8 -2
  57. data/generated/google/apis/genomics_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/service.rb +18 -7
  59. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  60. data/generated/google/apis/genomics_v1alpha2/service.rb +18 -7
  61. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  62. data/generated/google/apis/genomics_v2alpha1/service.rb +21 -7
  63. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  64. data/generated/google/apis/iamcredentials_v1/service.rb +2 -2
  65. data/generated/google/apis/indexing_v3.rb +4 -1
  66. data/generated/google/apis/jobs_v2.rb +1 -1
  67. data/generated/google/apis/jobs_v2/classes.rb +35 -35
  68. data/generated/google/apis/jobs_v3.rb +1 -1
  69. data/generated/google/apis/jobs_v3p1beta1.rb +38 -0
  70. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2910 -0
  71. data/generated/google/apis/jobs_v3p1beta1/representations.rb +966 -0
  72. data/generated/google/apis/jobs_v3p1beta1/service.rb +692 -0
  73. data/generated/google/apis/kgsearch_v1.rb +1 -1
  74. data/generated/google/apis/logging_v2.rb +1 -1
  75. data/generated/google/apis/logging_v2/service.rb +9 -9
  76. data/generated/google/apis/logging_v2beta1.rb +1 -1
  77. data/generated/google/apis/logging_v2beta1/service.rb +1 -1
  78. data/generated/google/apis/ml_v1.rb +1 -1
  79. data/generated/google/apis/ml_v1/classes.rb +10 -3
  80. data/generated/google/apis/ml_v1/representations.rb +1 -0
  81. data/generated/google/apis/monitoring_v3.rb +1 -1
  82. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  83. data/generated/google/apis/people_v1.rb +1 -1
  84. data/generated/google/apis/people_v1/classes.rb +4 -3
  85. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  86. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -242
  87. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -60
  88. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  89. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -4
  90. data/generated/google/apis/serviceusage_v1.rb +1 -1
  91. data/generated/google/apis/serviceusage_v1/classes.rb +3 -242
  92. data/generated/google/apis/serviceusage_v1/representations.rb +0 -60
  93. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  94. data/generated/google/apis/serviceusage_v1beta1/classes.rb +4 -242
  95. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -60
  96. data/generated/google/apis/spanner_v1.rb +1 -1
  97. data/generated/google/apis/spanner_v1/service.rb +11 -10
  98. data/generated/google/apis/speech_v1.rb +1 -1
  99. data/generated/google/apis/speech_v1/classes.rb +11 -8
  100. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  101. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  102. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -21
  103. data/generated/google/apis/testing_v1.rb +1 -1
  104. data/generated/google/apis/testing_v1/classes.rb +26 -16
  105. data/generated/google/apis/testing_v1/representations.rb +1 -0
  106. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  107. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
  108. data/lib/google/apis/version.rb +1 -1
  109. metadata +6 -2
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class AllocationAffinity
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class AllocationAggregatedList
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -184,38 +190,38 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
187
- class AllocationSpecificSkuAllocation
193
+ class AllocationList
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ class Warning
197
+ class Representation < Google::Apis::Core::JsonRepresentation; end
198
+
199
+ class Datum
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ include Google::Apis::Core::JsonObjectSupport
206
+ end
189
207
 
190
208
  include Google::Apis::Core::JsonObjectSupport
191
209
  end
192
210
 
193
- class AllocationSpecificSkuAllocationAllocatedInstanceProperties
211
+ class AllocationSpecificSkuAllocation
194
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
213
 
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
199
- class AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk
217
+ class AllocationSpecificSkuAllocationAllocatedInstanceProperties
200
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
219
 
202
220
  include Google::Apis::Core::JsonObjectSupport
203
221
  end
204
222
 
205
- class AllocationsList
223
+ class AllocationSpecificSkuAllocationAllocatedInstancePropertiesAllocatedDisk
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- class Warning
209
- class Representation < Google::Apis::Core::JsonRepresentation; end
210
-
211
- class Datum
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- include Google::Apis::Core::JsonObjectSupport
218
- end
219
225
 
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
@@ -1132,12 +1138,6 @@ module Google
1132
1138
  include Google::Apis::Core::JsonObjectSupport
1133
1139
  end
1134
1140
 
1135
- class InstanceAllocationAffinity
1136
- class Representation < Google::Apis::Core::JsonRepresentation; end
1137
-
1138
- include Google::Apis::Core::JsonObjectSupport
1139
- end
1140
-
1141
1141
  class InstanceGroup
1142
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1143
1143
 
@@ -4591,6 +4591,15 @@ module Google
4591
4591
  end
4592
4592
  end
4593
4593
 
4594
+ class AllocationAffinity
4595
+ # @private
4596
+ class Representation < Google::Apis::Core::JsonRepresentation
4597
+ property :consume_allocation_type, as: 'consumeAllocationType'
4598
+ property :key, as: 'key'
4599
+ collection :values, as: 'values'
4600
+ end
4601
+ end
4602
+
4594
4603
  class AllocationAggregatedList
4595
4604
  # @private
4596
4605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4623,6 +4632,38 @@ module Google
4623
4632
  end
4624
4633
  end
4625
4634
 
4635
+ class AllocationList
4636
+ # @private
4637
+ class Representation < Google::Apis::Core::JsonRepresentation
4638
+ property :id, as: 'id'
4639
+ collection :items, as: 'items', class: Google::Apis::ComputeAlpha::Allocation, decorator: Google::Apis::ComputeAlpha::Allocation::Representation
4640
+
4641
+ property :kind, as: 'kind'
4642
+ property :next_page_token, as: 'nextPageToken'
4643
+ property :self_link, as: 'selfLink'
4644
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::AllocationList::Warning, decorator: Google::Apis::ComputeAlpha::AllocationList::Warning::Representation
4645
+
4646
+ end
4647
+
4648
+ class Warning
4649
+ # @private
4650
+ class Representation < Google::Apis::Core::JsonRepresentation
4651
+ property :code, as: 'code'
4652
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::AllocationList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::AllocationList::Warning::Datum::Representation
4653
+
4654
+ property :message, as: 'message'
4655
+ end
4656
+
4657
+ class Datum
4658
+ # @private
4659
+ class Representation < Google::Apis::Core::JsonRepresentation
4660
+ property :key, as: 'key'
4661
+ property :value, as: 'value'
4662
+ end
4663
+ end
4664
+ end
4665
+ end
4666
+
4626
4667
  class AllocationSpecificSkuAllocation
4627
4668
  # @private
4628
4669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4653,38 +4694,6 @@ module Google
4653
4694
  end
4654
4695
  end
4655
4696
 
4656
- class AllocationsList
4657
- # @private
4658
- class Representation < Google::Apis::Core::JsonRepresentation
4659
- property :id, as: 'id'
4660
- collection :items, as: 'items', class: Google::Apis::ComputeAlpha::Allocation, decorator: Google::Apis::ComputeAlpha::Allocation::Representation
4661
-
4662
- property :kind, as: 'kind'
4663
- property :next_page_token, as: 'nextPageToken'
4664
- property :self_link, as: 'selfLink'
4665
- property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::AllocationsList::Warning, decorator: Google::Apis::ComputeAlpha::AllocationsList::Warning::Representation
4666
-
4667
- end
4668
-
4669
- class Warning
4670
- # @private
4671
- class Representation < Google::Apis::Core::JsonRepresentation
4672
- property :code, as: 'code'
4673
- collection :data, as: 'data', class: Google::Apis::ComputeAlpha::AllocationsList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::AllocationsList::Warning::Datum::Representation
4674
-
4675
- property :message, as: 'message'
4676
- end
4677
-
4678
- class Datum
4679
- # @private
4680
- class Representation < Google::Apis::Core::JsonRepresentation
4681
- property :key, as: 'key'
4682
- property :value, as: 'value'
4683
- end
4684
- end
4685
- end
4686
- end
4687
-
4688
4697
  class AllocationsScopedList
4689
4698
  # @private
4690
4699
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6386,7 +6395,7 @@ module Google
6386
6395
  class Instance
6387
6396
  # @private
6388
6397
  class Representation < Google::Apis::Core::JsonRepresentation
6389
- property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::ComputeAlpha::InstanceAllocationAffinity, decorator: Google::Apis::ComputeAlpha::InstanceAllocationAffinity::Representation
6398
+ property :allocation_affinity, as: 'allocationAffinity', class: Google::Apis::ComputeAlpha::AllocationAffinity, decorator: Google::Apis::ComputeAlpha::AllocationAffinity::Representation
6390
6399
 
6391
6400
  property :can_ip_forward, as: 'canIpForward'
6392
6401
  property :cpu_platform, as: 'cpuPlatform'
@@ -6464,15 +6473,6 @@ module Google
6464
6473
  end
6465
6474
  end
6466
6475
 
6467
- class InstanceAllocationAffinity
6468
- # @private
6469
- class Representation < Google::Apis::Core::JsonRepresentation
6470
- property :consume_allocation_type, as: 'consumeAllocationType'
6471
- property :key, as: 'key'
6472
- collection :values, as: 'values'
6473
- end
6474
- end
6475
-
6476
6476
  class InstanceGroup
6477
6477
  # @private
6478
6478
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6700,6 +6700,7 @@ module Google
6700
6700
  # @private
6701
6701
  class Representation < Google::Apis::Core::JsonRepresentation
6702
6702
  property :is_stable, as: 'isStable'
6703
+ property :version_target_reached, as: 'versionTargetReached'
6703
6704
  end
6704
6705
  end
6705
6706
 
@@ -7513,6 +7514,7 @@ module Google
7513
7514
  collection :region_infos, as: 'regionInfos', class: Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo, decorator: Google::Apis::ComputeAlpha::InterconnectLocationRegionInfo::Representation
7514
7515
 
7515
7516
  property :self_link, as: 'selfLink'
7517
+ property :status, as: 'status'
7516
7518
  end
7517
7519
  end
7518
7520
 
@@ -8363,8 +8365,6 @@ module Google
8363
8365
  property :kind, as: 'kind'
8364
8366
  property :name, as: 'name'
8365
8367
  property :node_template, as: 'nodeTemplate'
8366
- collection :nodes, as: 'nodes', class: Google::Apis::ComputeAlpha::NodeGroupNode, decorator: Google::Apis::ComputeAlpha::NodeGroupNode::Representation
8367
-
8368
8368
  property :self_link, as: 'selfLink'
8369
8369
  property :size, as: 'size'
8370
8370
  property :status, as: 'status'
@@ -871,18 +871,18 @@ module Google
871
871
  # Request-specific options
872
872
  #
873
873
  # @yield [result, err] Result & error if block supplied
874
- # @yieldparam result [Google::Apis::ComputeAlpha::AllocationsList] parsed result object
874
+ # @yieldparam result [Google::Apis::ComputeAlpha::AllocationList] parsed result object
875
875
  # @yieldparam err [StandardError] error object if request failed
876
876
  #
877
- # @return [Google::Apis::ComputeAlpha::AllocationsList]
877
+ # @return [Google::Apis::ComputeAlpha::AllocationList]
878
878
  #
879
879
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
880
880
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
881
881
  # @raise [Google::Apis::AuthorizationError] Authorization is required
882
882
  def list_allocations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
883
883
  command = make_simple_command(:get, '{project}/zones/{zone}/allocations', options)
884
- command.response_representation = Google::Apis::ComputeAlpha::AllocationsList::Representation
885
- command.response_class = Google::Apis::ComputeAlpha::AllocationsList
884
+ command.response_representation = Google::Apis::ComputeAlpha::AllocationList::Representation
885
+ command.response_class = Google::Apis::ComputeAlpha::AllocationList
886
886
  command.params['project'] = project unless project.nil?
887
887
  command.params['zone'] = zone unless zone.nil?
888
888
  command.query['filter'] = filter unless filter.nil?
@@ -9620,10 +9620,10 @@ module Google
9620
9620
  # Specifies instance template to create the instance.
9621
9621
  # This field is optional. It can be a full or partial URL. For example, the
9622
9622
  # following are all valid URLs to an instance template:
9623
- # - https://www.googleapis.com/compute/v1/projects/project/global/global/
9623
+ # - https://www.googleapis.com/compute/v1/projects/project/global/
9624
9624
  # instanceTemplates/instanceTemplate
9625
- # - projects/project/global/global/instanceTemplates/instanceTemplate
9626
- # - global/instancesTemplates/instanceTemplate
9625
+ # - projects/project/global/instanceTemplates/instanceTemplate
9626
+ # - global/instanceTemplates/instanceTemplate
9627
9627
  # @param [String] source_machine_image
9628
9628
  # Specifies instance machine to create the instance.
9629
9629
  # This field is optional. It can be a full or partial URL. For example, the
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20180817'
28
+ REVISION = '20180828'
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'
@@ -8317,6 +8317,11 @@ module Google
8317
8317
  # @return [String]
8318
8318
  attr_accessor :service_account
8319
8319
 
8320
+ # [Output Only] The status of this managed instance group.
8321
+ # Corresponds to the JSON property `status`
8322
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerStatus]
8323
+ attr_accessor :status
8324
+
8320
8325
  # The URLs for all TargetPool resources to which instances in the instanceGroup
8321
8326
  # field are added. The target pools automatically apply to all of the instances
8322
8327
  # in the managed instance group.
@@ -8378,6 +8383,7 @@ module Google
8378
8383
  @region = args[:region] if args.key?(:region)
8379
8384
  @self_link = args[:self_link] if args.key?(:self_link)
8380
8385
  @service_account = args[:service_account] if args.key?(:service_account)
8386
+ @status = args[:status] if args.key?(:status)
8381
8387
  @target_pools = args[:target_pools] if args.key?(:target_pools)
8382
8388
  @target_size = args[:target_size] if args.key?(:target_size)
8383
8389
  @update_policy = args[:update_policy] if args.key?(:update_policy)
@@ -8781,6 +8787,31 @@ module Google
8781
8787
  end
8782
8788
  end
8783
8789
 
8790
+ #
8791
+ class InstanceGroupManagerStatus
8792
+ include Google::Apis::Core::Hashable
8793
+
8794
+ # [Output Only] A bit indicating whether the managed instance group is in a
8795
+ # stable state. A stable state means that: none of the instances in the managed
8796
+ # instance group is currently undergoing any type of change (for example,
8797
+ # creation, restart, or deletion); no future changes are scheduled for instances
8798
+ # in the managed instance group; and the managed instance group itself is not
8799
+ # being modified.
8800
+ # Corresponds to the JSON property `isStable`
8801
+ # @return [Boolean]
8802
+ attr_accessor :is_stable
8803
+ alias_method :is_stable?, :is_stable
8804
+
8805
+ def initialize(**args)
8806
+ update!(**args)
8807
+ end
8808
+
8809
+ # Update properties of this object
8810
+ def update!(**args)
8811
+ @is_stable = args[:is_stable] if args.key?(:is_stable)
8812
+ end
8813
+ end
8814
+
8784
8815
  #
8785
8816
  class InstanceGroupManagerUpdatePolicy
8786
8817
  include Google::Apis::Core::Hashable
@@ -11154,6 +11185,172 @@ module Google
11154
11185
  end
11155
11186
  end
11156
11187
 
11188
+ # Diagnostics information about interconnect, contains detailed and current
11189
+ # technical information about Google?s side of the connection.
11190
+ class InterconnectDiagnostics
11191
+ include Google::Apis::Core::Hashable
11192
+
11193
+ # A list of InterconnectDiagnostics.ARPEntry objects, describing individual
11194
+ # neighbors currently seen by the Google router in the ARP cache for the
11195
+ # Interconnect. This will be empty when the Interconnect is not bundled.
11196
+ # Corresponds to the JSON property `arpCaches`
11197
+ # @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry>]
11198
+ attr_accessor :arp_caches
11199
+
11200
+ # A list of InterconnectDiagnostics.LinkStatus objects, describing the status
11201
+ # for each link on the Interconnect.
11202
+ # Corresponds to the JSON property `links`
11203
+ # @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus>]
11204
+ attr_accessor :links
11205
+
11206
+ # The MAC address of the Interconnect's bundle interface.
11207
+ # Corresponds to the JSON property `macAddress`
11208
+ # @return [String]
11209
+ attr_accessor :mac_address
11210
+
11211
+ def initialize(**args)
11212
+ update!(**args)
11213
+ end
11214
+
11215
+ # Update properties of this object
11216
+ def update!(**args)
11217
+ @arp_caches = args[:arp_caches] if args.key?(:arp_caches)
11218
+ @links = args[:links] if args.key?(:links)
11219
+ @mac_address = args[:mac_address] if args.key?(:mac_address)
11220
+ end
11221
+ end
11222
+
11223
+ # Describing the ARP neighbor entries seen on this link
11224
+ class InterconnectDiagnosticsArpEntry
11225
+ include Google::Apis::Core::Hashable
11226
+
11227
+ # The IP address of this ARP neighbor.
11228
+ # Corresponds to the JSON property `ipAddress`
11229
+ # @return [String]
11230
+ attr_accessor :ip_address
11231
+
11232
+ # The MAC address of this ARP neighbor.
11233
+ # Corresponds to the JSON property `macAddress`
11234
+ # @return [String]
11235
+ attr_accessor :mac_address
11236
+
11237
+ def initialize(**args)
11238
+ update!(**args)
11239
+ end
11240
+
11241
+ # Update properties of this object
11242
+ def update!(**args)
11243
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
11244
+ @mac_address = args[:mac_address] if args.key?(:mac_address)
11245
+ end
11246
+ end
11247
+
11248
+ #
11249
+ class InterconnectDiagnosticsLinkLacpStatus
11250
+ include Google::Apis::Core::Hashable
11251
+
11252
+ # System ID of the port on Google?s side of the LACP exchange.
11253
+ # Corresponds to the JSON property `googleSystemId`
11254
+ # @return [String]
11255
+ attr_accessor :google_system_id
11256
+
11257
+ # System ID of the port on the neighbor?s side of the LACP exchange.
11258
+ # Corresponds to the JSON property `neighborSystemId`
11259
+ # @return [String]
11260
+ attr_accessor :neighbor_system_id
11261
+
11262
+ #
11263
+ # Corresponds to the JSON property `state`
11264
+ # @return [String]
11265
+ attr_accessor :state
11266
+
11267
+ def initialize(**args)
11268
+ update!(**args)
11269
+ end
11270
+
11271
+ # Update properties of this object
11272
+ def update!(**args)
11273
+ @google_system_id = args[:google_system_id] if args.key?(:google_system_id)
11274
+ @neighbor_system_id = args[:neighbor_system_id] if args.key?(:neighbor_system_id)
11275
+ @state = args[:state] if args.key?(:state)
11276
+ end
11277
+ end
11278
+
11279
+ #
11280
+ class InterconnectDiagnosticsLinkOpticalPower
11281
+ include Google::Apis::Core::Hashable
11282
+
11283
+ #
11284
+ # Corresponds to the JSON property `state`
11285
+ # @return [String]
11286
+ attr_accessor :state
11287
+
11288
+ # Value of the current optical power, read in dBm.
11289
+ # Corresponds to the JSON property `value`
11290
+ # @return [Float]
11291
+ attr_accessor :value
11292
+
11293
+ def initialize(**args)
11294
+ update!(**args)
11295
+ end
11296
+
11297
+ # Update properties of this object
11298
+ def update!(**args)
11299
+ @state = args[:state] if args.key?(:state)
11300
+ @value = args[:value] if args.key?(:value)
11301
+ end
11302
+ end
11303
+
11304
+ #
11305
+ class InterconnectDiagnosticsLinkStatus
11306
+ include Google::Apis::Core::Hashable
11307
+
11308
+ # A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP
11309
+ # neighbor entries seen on this link. This will be empty if the link is bundled
11310
+ # Corresponds to the JSON property `arpCaches`
11311
+ # @return [Array<Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry>]
11312
+ attr_accessor :arp_caches
11313
+
11314
+ # The unique ID for this link assigned during turn up by Google.
11315
+ # Corresponds to the JSON property `circuitId`
11316
+ # @return [String]
11317
+ attr_accessor :circuit_id
11318
+
11319
+ # The Demarc address assigned by Google and provided in the LoA.
11320
+ # Corresponds to the JSON property `googleDemarc`
11321
+ # @return [String]
11322
+ attr_accessor :google_demarc
11323
+
11324
+ #
11325
+ # Corresponds to the JSON property `lacpStatus`
11326
+ # @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus]
11327
+ attr_accessor :lacp_status
11328
+
11329
+ #
11330
+ # Corresponds to the JSON property `receivingOpticalPower`
11331
+ # @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
11332
+ attr_accessor :receiving_optical_power
11333
+
11334
+ #
11335
+ # Corresponds to the JSON property `transmittingOpticalPower`
11336
+ # @return [Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower]
11337
+ attr_accessor :transmitting_optical_power
11338
+
11339
+ def initialize(**args)
11340
+ update!(**args)
11341
+ end
11342
+
11343
+ # Update properties of this object
11344
+ def update!(**args)
11345
+ @arp_caches = args[:arp_caches] if args.key?(:arp_caches)
11346
+ @circuit_id = args[:circuit_id] if args.key?(:circuit_id)
11347
+ @google_demarc = args[:google_demarc] if args.key?(:google_demarc)
11348
+ @lacp_status = args[:lacp_status] if args.key?(:lacp_status)
11349
+ @receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
11350
+ @transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
11351
+ end
11352
+ end
11353
+
11157
11354
  # Response to the list request, and contains a list of interconnects.
11158
11355
  class InterconnectList
11159
11356
  include Google::Apis::Core::Hashable
@@ -11597,6 +11794,26 @@ module Google
11597
11794
  end
11598
11795
  end
11599
11796
 
11797
+ # Response for the InterconnectsGetDiagnosticsRequest.
11798
+ class InterconnectsGetDiagnosticsResponse
11799
+ include Google::Apis::Core::Hashable
11800
+
11801
+ # Diagnostics information about interconnect, contains detailed and current
11802
+ # technical information about Google?s side of the connection.
11803
+ # Corresponds to the JSON property `result`
11804
+ # @return [Google::Apis::ComputeBeta::InterconnectDiagnostics]
11805
+ attr_accessor :result
11806
+
11807
+ def initialize(**args)
11808
+ update!(**args)
11809
+ end
11810
+
11811
+ # Update properties of this object
11812
+ def update!(**args)
11813
+ @result = args[:result] if args.key?(:result)
11814
+ end
11815
+ end
11816
+
11600
11817
  # A license resource.
11601
11818
  class License
11602
11819
  include Google::Apis::Core::Hashable
@@ -13076,24 +13293,25 @@ module Google
13076
13293
  include Google::Apis::Core::Hashable
13077
13294
 
13078
13295
  # The default port used if the port number is not specified in the network
13079
- # endpoint.
13296
+ # endpoint. [Deprecated] This field is deprecated.
13080
13297
  # Corresponds to the JSON property `defaultPort`
13081
13298
  # @return [Fixnum]
13082
13299
  attr_accessor :default_port
13083
13300
 
13084
13301
  # The URL of the network to which all network endpoints in the NEG belong. Uses "
13085
- # default" project network if unspecified.
13302
+ # default" project network if unspecified. [Deprecated] This field is deprecated.
13086
13303
  # Corresponds to the JSON property `network`
13087
13304
  # @return [String]
13088
13305
  attr_accessor :network
13089
13306
 
13090
13307
  # Optional URL of the subnetwork to which all network endpoints in the NEG
13091
- # belong.
13308
+ # belong. [Deprecated] This field is deprecated.
13092
13309
  # Corresponds to the JSON property `subnetwork`
13093
13310
  # @return [String]
13094
13311
  attr_accessor :subnetwork
13095
13312
 
13096
13313
  # [Output Only] The URL of the zone where the network endpoint group is located.
13314
+ # [Deprecated] This field is deprecated.
13097
13315
  # Corresponds to the JSON property `zone`
13098
13316
  # @return [String]
13099
13317
  attr_accessor :zone
@@ -13904,12 +14122,6 @@ module Google
13904
14122
  # @return [String]
13905
14123
  attr_accessor :node_template
13906
14124
 
13907
- # [Deprecated] Use nodeGroups.listNodes instead. [Output Only] A list of nodes
13908
- # in this node group.
13909
- # Corresponds to the JSON property `nodes`
13910
- # @return [Array<Google::Apis::ComputeBeta::NodeGroupNode>]
13911
- attr_accessor :nodes
13912
-
13913
14125
  # [Output Only] Server-defined URL for the resource.
13914
14126
  # Corresponds to the JSON property `selfLink`
13915
14127
  # @return [String]
@@ -13943,7 +14155,6 @@ module Google
13943
14155
  @kind = args[:kind] if args.key?(:kind)
13944
14156
  @name = args[:name] if args.key?(:name)
13945
14157
  @node_template = args[:node_template] if args.key?(:node_template)
13946
- @nodes = args[:nodes] if args.key?(:nodes)
13947
14158
  @self_link = args[:self_link] if args.key?(:self_link)
13948
14159
  @size = args[:size] if args.key?(:size)
13949
14160
  @status = args[:status] if args.key?(:status)