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
@@ -1072,6 +1072,12 @@ module Google
1072
1072
  include Google::Apis::Core::JsonObjectSupport
1073
1073
  end
1074
1074
 
1075
+ class InstanceGroupManagerStatus
1076
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1077
+
1078
+ include Google::Apis::Core::JsonObjectSupport
1079
+ end
1080
+
1075
1081
  class InstanceGroupManagerUpdatePolicy
1076
1082
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1083
 
@@ -1432,6 +1438,36 @@ module Google
1432
1438
  include Google::Apis::Core::JsonObjectSupport
1433
1439
  end
1434
1440
 
1441
+ class InterconnectDiagnostics
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1447
+ class InterconnectDiagnosticsArpEntry
1448
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1449
+
1450
+ include Google::Apis::Core::JsonObjectSupport
1451
+ end
1452
+
1453
+ class InterconnectDiagnosticsLinkLacpStatus
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1459
+ class InterconnectDiagnosticsLinkOpticalPower
1460
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1461
+
1462
+ include Google::Apis::Core::JsonObjectSupport
1463
+ end
1464
+
1465
+ class InterconnectDiagnosticsLinkStatus
1466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1467
+
1468
+ include Google::Apis::Core::JsonObjectSupport
1469
+ end
1470
+
1435
1471
  class InterconnectList
1436
1472
  class Representation < Google::Apis::Core::JsonRepresentation; end
1437
1473
 
@@ -1486,6 +1522,12 @@ module Google
1486
1522
  include Google::Apis::Core::JsonObjectSupport
1487
1523
  end
1488
1524
 
1525
+ class InterconnectsGetDiagnosticsResponse
1526
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1527
+
1528
+ include Google::Apis::Core::JsonObjectSupport
1529
+ end
1530
+
1489
1531
  class License
1490
1532
  class Representation < Google::Apis::Core::JsonRepresentation; end
1491
1533
 
@@ -5540,6 +5582,8 @@ module Google
5540
5582
  property :region, as: 'region'
5541
5583
  property :self_link, as: 'selfLink'
5542
5584
  property :service_account, as: 'serviceAccount'
5585
+ property :status, as: 'status', class: Google::Apis::ComputeBeta::InstanceGroupManagerStatus, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerStatus::Representation
5586
+
5543
5587
  collection :target_pools, as: 'targetPools'
5544
5588
  property :target_size, as: 'targetSize'
5545
5589
  property :update_policy, as: 'updatePolicy', class: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerUpdatePolicy::Representation
@@ -5647,6 +5691,13 @@ module Google
5647
5691
  end
5648
5692
  end
5649
5693
 
5694
+ class InstanceGroupManagerStatus
5695
+ # @private
5696
+ class Representation < Google::Apis::Core::JsonRepresentation
5697
+ property :is_stable, as: 'isStable'
5698
+ end
5699
+ end
5700
+
5650
5701
  class InstanceGroupManagerUpdatePolicy
5651
5702
  # @private
5652
5703
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6273,6 +6324,58 @@ module Google
6273
6324
  end
6274
6325
  end
6275
6326
 
6327
+ class InterconnectDiagnostics
6328
+ # @private
6329
+ class Representation < Google::Apis::Core::JsonRepresentation
6330
+ collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry::Representation
6331
+
6332
+ collection :links, as: 'links', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkStatus::Representation
6333
+
6334
+ property :mac_address, as: 'macAddress'
6335
+ end
6336
+ end
6337
+
6338
+ class InterconnectDiagnosticsArpEntry
6339
+ # @private
6340
+ class Representation < Google::Apis::Core::JsonRepresentation
6341
+ property :ip_address, as: 'ipAddress'
6342
+ property :mac_address, as: 'macAddress'
6343
+ end
6344
+ end
6345
+
6346
+ class InterconnectDiagnosticsLinkLacpStatus
6347
+ # @private
6348
+ class Representation < Google::Apis::Core::JsonRepresentation
6349
+ property :google_system_id, as: 'googleSystemId'
6350
+ property :neighbor_system_id, as: 'neighborSystemId'
6351
+ property :state, as: 'state'
6352
+ end
6353
+ end
6354
+
6355
+ class InterconnectDiagnosticsLinkOpticalPower
6356
+ # @private
6357
+ class Representation < Google::Apis::Core::JsonRepresentation
6358
+ property :state, as: 'state'
6359
+ property :value, as: 'value'
6360
+ end
6361
+ end
6362
+
6363
+ class InterconnectDiagnosticsLinkStatus
6364
+ # @private
6365
+ class Representation < Google::Apis::Core::JsonRepresentation
6366
+ collection :arp_caches, as: 'arpCaches', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsArpEntry::Representation
6367
+
6368
+ property :circuit_id, as: 'circuitId'
6369
+ property :google_demarc, as: 'googleDemarc'
6370
+ property :lacp_status, as: 'lacpStatus', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkLacpStatus::Representation
6371
+
6372
+ property :receiving_optical_power, as: 'receivingOpticalPower', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower::Representation
6373
+
6374
+ property :transmitting_optical_power, as: 'transmittingOpticalPower', class: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower, decorator: Google::Apis::ComputeBeta::InterconnectDiagnosticsLinkOpticalPower::Representation
6375
+
6376
+ end
6377
+ end
6378
+
6276
6379
  class InterconnectList
6277
6380
  # @private
6278
6381
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6381,6 +6484,14 @@ module Google
6381
6484
  end
6382
6485
  end
6383
6486
 
6487
+ class InterconnectsGetDiagnosticsResponse
6488
+ # @private
6489
+ class Representation < Google::Apis::Core::JsonRepresentation
6490
+ property :result, as: 'result', class: Google::Apis::ComputeBeta::InterconnectDiagnostics, decorator: Google::Apis::ComputeBeta::InterconnectDiagnostics::Representation
6491
+
6492
+ end
6493
+ end
6494
+
6384
6495
  class License
6385
6496
  # @private
6386
6497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6984,8 +7095,6 @@ module Google
6984
7095
  property :kind, as: 'kind'
6985
7096
  property :name, as: 'name'
6986
7097
  property :node_template, as: 'nodeTemplate'
6987
- collection :nodes, as: 'nodes', class: Google::Apis::ComputeBeta::NodeGroupNode, decorator: Google::Apis::ComputeBeta::NodeGroupNode::Representation
6988
-
6989
7098
  property :self_link, as: 'selfLink'
6990
7099
  property :size, as: 'size'
6991
7100
  property :status, as: 'status'
@@ -8545,10 +8545,10 @@ module Google
8545
8545
  # Specifies instance template to create the instance.
8546
8546
  # This field is optional. It can be a full or partial URL. For example, the
8547
8547
  # following are all valid URLs to an instance template:
8548
- # - https://www.googleapis.com/compute/v1/projects/project/global/global/
8548
+ # - https://www.googleapis.com/compute/v1/projects/project/global/
8549
8549
  # instanceTemplates/instanceTemplate
8550
- # - projects/project/global/global/instanceTemplates/instanceTemplate
8551
- # - global/instancesTemplates/instanceTemplate
8550
+ # - projects/project/global/instanceTemplates/instanceTemplate
8551
+ # - global/instanceTemplates/instanceTemplate
8552
8552
  # @param [String] fields
8553
8553
  # Selector specifying which fields to include in a partial response.
8554
8554
  # @param [String] quota_user
@@ -10487,6 +10487,42 @@ module Google
10487
10487
  execute_or_queue_command(command, &block)
10488
10488
  end
10489
10489
 
10490
+ # Returns the interconnectDiagnostics for the specified interconnect.
10491
+ # @param [String] project
10492
+ # Project ID for this request.
10493
+ # @param [String] interconnect
10494
+ # Name of the interconnect resource to query.
10495
+ # @param [String] fields
10496
+ # Selector specifying which fields to include in a partial response.
10497
+ # @param [String] quota_user
10498
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
10499
+ # characters.
10500
+ # @param [String] user_ip
10501
+ # Deprecated. Please use quotaUser instead.
10502
+ # @param [Google::Apis::RequestOptions] options
10503
+ # Request-specific options
10504
+ #
10505
+ # @yield [result, err] Result & error if block supplied
10506
+ # @yieldparam result [Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse] parsed result object
10507
+ # @yieldparam err [StandardError] error object if request failed
10508
+ #
10509
+ # @return [Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse]
10510
+ #
10511
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10512
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10513
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10514
+ def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
10515
+ command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options)
10516
+ command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse::Representation
10517
+ command.response_class = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse
10518
+ command.params['project'] = project unless project.nil?
10519
+ command.params['interconnect'] = interconnect unless interconnect.nil?
10520
+ command.query['fields'] = fields unless fields.nil?
10521
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10522
+ command.query['userIp'] = user_ip unless user_ip.nil?
10523
+ execute_or_queue_command(command, &block)
10524
+ end
10525
+
10490
10526
  # Creates a Interconnect in the specified project using the data included in the
10491
10527
  # request.
10492
10528
  # @param [String] project
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeV1
27
27
  VERSION = 'V1'
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'
@@ -7130,10 +7130,10 @@ module Google
7130
7130
  # Specifies instance template to create the instance.
7131
7131
  # This field is optional. It can be a full or partial URL. For example, the
7132
7132
  # following are all valid URLs to an instance template:
7133
- # - https://www.googleapis.com/compute/v1/projects/project/global/global/
7133
+ # - https://www.googleapis.com/compute/v1/projects/project/global/
7134
7134
  # instanceTemplates/instanceTemplate
7135
- # - projects/project/global/global/instanceTemplates/instanceTemplate
7136
- # - global/instancesTemplates/instanceTemplate
7135
+ # - projects/project/global/instanceTemplates/instanceTemplate
7136
+ # - global/instanceTemplates/instanceTemplate
7137
7137
  # @param [String] fields
7138
7138
  # Selector specifying which fields to include in a partial response.
7139
7139
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180824'
29
+ REVISION = '20180917'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -431,6 +431,11 @@ module Google
431
431
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
432
432
  attr_accessor :node_pools
433
433
 
434
+ # Configuration options for private clusters.
435
+ # Corresponds to the JSON property `privateClusterConfig`
436
+ # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
437
+ attr_accessor :private_cluster_config
438
+
434
439
  # The resource labels for the cluster to use to annotate any related
435
440
  # Google Compute Engine resources.
436
441
  # Corresponds to the JSON property `resourceLabels`
@@ -513,6 +518,7 @@ module Google
513
518
  @node_config = args[:node_config] if args.key?(:node_config)
514
519
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
515
520
  @node_pools = args[:node_pools] if args.key?(:node_pools)
521
+ @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
516
522
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
517
523
  @self_link = args[:self_link] if args.key?(:self_link)
518
524
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
@@ -1712,6 +1718,56 @@ module Google
1712
1718
  end
1713
1719
  end
1714
1720
 
1721
+ # Configuration options for private clusters.
1722
+ class PrivateClusterConfig
1723
+ include Google::Apis::Core::Hashable
1724
+
1725
+ # Whether the master's internal IP address is used as the cluster endpoint.
1726
+ # Corresponds to the JSON property `enablePrivateEndpoint`
1727
+ # @return [Boolean]
1728
+ attr_accessor :enable_private_endpoint
1729
+ alias_method :enable_private_endpoint?, :enable_private_endpoint
1730
+
1731
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are
1732
+ # given only RFC 1918 private addresses and communicate with the master via
1733
+ # private networking.
1734
+ # Corresponds to the JSON property `enablePrivateNodes`
1735
+ # @return [Boolean]
1736
+ attr_accessor :enable_private_nodes
1737
+ alias_method :enable_private_nodes?, :enable_private_nodes
1738
+
1739
+ # The IP range in CIDR notation to use for the hosted master network. This
1740
+ # range will be used for assigning internal IP addresses to the master or
1741
+ # set of masters, as well as the ILB VIP. This range must not overlap with
1742
+ # any other ranges in use within the cluster's network.
1743
+ # Corresponds to the JSON property `masterIpv4CidrBlock`
1744
+ # @return [String]
1745
+ attr_accessor :master_ipv4_cidr_block
1746
+
1747
+ # Output only. The internal IP address of this cluster's master endpoint.
1748
+ # Corresponds to the JSON property `privateEndpoint`
1749
+ # @return [String]
1750
+ attr_accessor :private_endpoint
1751
+
1752
+ # Output only. The external IP address of this cluster's master endpoint.
1753
+ # Corresponds to the JSON property `publicEndpoint`
1754
+ # @return [String]
1755
+ attr_accessor :public_endpoint
1756
+
1757
+ def initialize(**args)
1758
+ update!(**args)
1759
+ end
1760
+
1761
+ # Update properties of this object
1762
+ def update!(**args)
1763
+ @enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
1764
+ @enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
1765
+ @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
1766
+ @private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
1767
+ @public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint)
1768
+ end
1769
+ end
1770
+
1715
1771
  # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed
1716
1772
  # NodePool upgrade. This will be an no-op if the last upgrade successfully
1717
1773
  # completed.
@@ -220,6 +220,12 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class PrivateClusterConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
223
229
  class RollbackNodePoolUpgradeRequest
224
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
231
 
@@ -426,6 +432,8 @@ module Google
426
432
  property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
427
433
  collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
428
434
 
435
+ property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
436
+
429
437
  hash :resource_labels, as: 'resourceLabels'
430
438
  property :self_link, as: 'selfLink'
431
439
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
@@ -708,6 +716,17 @@ module Google
708
716
  end
709
717
  end
710
718
 
719
+ class PrivateClusterConfig
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :enable_private_endpoint, as: 'enablePrivateEndpoint'
723
+ property :enable_private_nodes, as: 'enablePrivateNodes'
724
+ property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
725
+ property :private_endpoint, as: 'privateEndpoint'
726
+ property :public_endpoint, as: 'publicEndpoint'
727
+ end
728
+ end
729
+
711
730
  class RollbackNodePoolUpgradeRequest
712
731
  # @private
713
732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-engine/
27
27
  module ContainerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20180824'
29
+ REVISION = '20180917'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -499,7 +499,8 @@ module Google
499
499
  # If this is a private cluster setup. Private clusters are clusters that, by
500
500
  # default have no external IP addresses on the nodes and where nodes and the
501
501
  # master communicate over private IP addresses.
502
- # This field is deprecated, use private_cluster_config.enabled instead.
502
+ # This field is deprecated, use private_cluster_config.enable_private_nodes
503
+ # instead.
503
504
  # Corresponds to the JSON property `privateCluster`
504
505
  # @return [Boolean]
505
506
  attr_accessor :private_cluster
@@ -2212,16 +2213,18 @@ module Google
2212
2213
  attr_accessor :enable_private_endpoint
2213
2214
  alias_method :enable_private_endpoint?, :enable_private_endpoint
2214
2215
 
2215
- # Whether nodes have only private IP addresses, and communicate with the
2216
- # master via private networking.
2216
+ # Whether nodes have internal IP addresses only. If enabled, all nodes are
2217
+ # given only RFC 1918 private addresses and communicate with the master via
2218
+ # private networking.
2217
2219
  # Corresponds to the JSON property `enablePrivateNodes`
2218
2220
  # @return [Boolean]
2219
2221
  attr_accessor :enable_private_nodes
2220
2222
  alias_method :enable_private_nodes?, :enable_private_nodes
2221
2223
 
2222
- # The IP prefix in CIDR notation to use for the hosted master network. This
2223
- # prefix will be used for assigning private IP addresses to the master or
2224
- # set of masters, as well as the ILB VIP.
2224
+ # The IP range in CIDR notation to use for the hosted master network. This
2225
+ # range will be used for assigning internal IP addresses to the master or
2226
+ # set of masters, as well as the ILB VIP. This range must not overlap with
2227
+ # any other ranges in use within the cluster's network.
2225
2228
  # Corresponds to the JSON property `masterIpv4CidrBlock`
2226
2229
  # @return [String]
2227
2230
  attr_accessor :master_ipv4_cidr_block
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20180829'
29
+ REVISION = '20180914'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -1034,7 +1034,7 @@ module Google
1034
1034
  # @return [String]
1035
1035
  attr_accessor :kind
1036
1036
 
1037
- # The status of the updated link. Only defined if the method is link.
1037
+ # Deprecated. This field is never set.
1038
1038
  # Corresponds to the JSON property `linkStatus`
1039
1039
  # @return [String]
1040
1040
  attr_accessor :link_status
@@ -5652,6 +5652,51 @@ module Google
5652
5652
  end
5653
5653
  end
5654
5654
 
5655
+ #
5656
+ class OrdersCreateTestReturnRequest
5657
+ include Google::Apis::Core::Hashable
5658
+
5659
+ # Returned items.
5660
+ # Corresponds to the JSON property `items`
5661
+ # @return [Array<Google::Apis::ContentV2::OrdersCustomBatchRequestEntryCreateTestReturnReturnItem>]
5662
+ attr_accessor :items
5663
+
5664
+ def initialize(**args)
5665
+ update!(**args)
5666
+ end
5667
+
5668
+ # Update properties of this object
5669
+ def update!(**args)
5670
+ @items = args[:items] if args.key?(:items)
5671
+ end
5672
+ end
5673
+
5674
+ #
5675
+ class OrdersCreateTestReturnResponse
5676
+ include Google::Apis::Core::Hashable
5677
+
5678
+ # Identifies what kind of resource this is. Value: the fixed string "content#
5679
+ # ordersCreateTestReturnResponse".
5680
+ # Corresponds to the JSON property `kind`
5681
+ # @return [String]
5682
+ attr_accessor :kind
5683
+
5684
+ # The ID of the newly created test order return.
5685
+ # Corresponds to the JSON property `returnId`
5686
+ # @return [String]
5687
+ attr_accessor :return_id
5688
+
5689
+ def initialize(**args)
5690
+ update!(**args)
5691
+ end
5692
+
5693
+ # Update properties of this object
5694
+ def update!(**args)
5695
+ @kind = args[:kind] if args.key?(:kind)
5696
+ @return_id = args[:return_id] if args.key?(:return_id)
5697
+ end
5698
+ end
5699
+
5655
5700
  #
5656
5701
  class OrdersCustomBatchRequest
5657
5702
  include Google::Apis::Core::Hashable
@@ -5877,6 +5922,31 @@ module Google
5877
5922
  end
5878
5923
  end
5879
5924
 
5925
+ #
5926
+ class OrdersCustomBatchRequestEntryCreateTestReturnReturnItem
5927
+ include Google::Apis::Core::Hashable
5928
+
5929
+ # The ID of the line item to return.
5930
+ # Corresponds to the JSON property `lineItemId`
5931
+ # @return [String]
5932
+ attr_accessor :line_item_id
5933
+
5934
+ # Quantity that is returned.
5935
+ # Corresponds to the JSON property `quantity`
5936
+ # @return [Fixnum]
5937
+ attr_accessor :quantity
5938
+
5939
+ def initialize(**args)
5940
+ update!(**args)
5941
+ end
5942
+
5943
+ # Update properties of this object
5944
+ def update!(**args)
5945
+ @line_item_id = args[:line_item_id] if args.key?(:line_item_id)
5946
+ @quantity = args[:quantity] if args.key?(:quantity)
5947
+ end
5948
+ end
5949
+
5880
5950
  #
5881
5951
  class OrdersCustomBatchRequestEntryInStoreRefundLineItem
5882
5952
  include Google::Apis::Core::Hashable
@@ -8312,7 +8382,7 @@ module Google
8312
8382
  # @return [String]
8313
8383
  attr_accessor :offer_id
8314
8384
 
8315
- # Whether an item is available for purchase only online.
8385
+ # Deprecated. Whether an item is available for purchase only online.
8316
8386
  # Corresponds to the JSON property `onlineOnly`
8317
8387
  # @return [Boolean]
8318
8388
  attr_accessor :online_only
@@ -8430,7 +8500,8 @@ module Google
8430
8500
  # @return [Google::Apis::ContentV2::ProductUnitPricingMeasure]
8431
8501
  attr_accessor :unit_pricing_measure
8432
8502
 
8433
- # The read-only list of intended destinations which passed validation.
8503
+ # Deprecated. The read-only list of intended destinations which passed
8504
+ # validation.
8434
8505
  # Corresponds to the JSON property `validatedDestinations`
8435
8506
  # @return [Array<String>]
8436
8507
  attr_accessor :validated_destinations
@@ -8573,8 +8644,8 @@ module Google
8573
8644
  # @return [String]
8574
8645
  attr_accessor :type
8575
8646
 
8576
- # Free-form unit of the attribute. Unit can only be used for values of type INT
8577
- # or FLOAT.
8647
+ # Free-form unit of the attribute. Unit can only be used for values of type int,
8648
+ # float, or price.
8578
8649
  # Corresponds to the JSON property `unit`
8579
8650
  # @return [String]
8580
8651
  attr_accessor :unit