google-api-client 0.46.1 → 0.46.2

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 (151) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +58 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  9. data/generated/google/apis/admin_directory_v1.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  11. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  12. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  13. data/generated/google/apis/admin_reports_v1.rb +1 -1
  14. data/generated/google/apis/admob_v1.rb +1 -1
  15. data/generated/google/apis/admob_v1/classes.rb +29 -29
  16. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  17. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
  18. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
  19. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  20. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
  21. data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  24. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  25. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +80 -5
  29. data/generated/google/apis/bigquery_v2/representations.rb +33 -0
  30. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  31. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  32. data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
  35. data/generated/google/apis/civicinfo_v2.rb +1 -1
  36. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  37. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  38. data/generated/google/apis/classroom_v1.rb +1 -1
  39. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  40. data/generated/google/apis/container_v1.rb +1 -1
  41. data/generated/google/apis/container_v1/classes.rb +22 -10
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  44. data/generated/google/apis/content_v2.rb +1 -1
  45. data/generated/google/apis/content_v2_1.rb +1 -1
  46. data/generated/google/apis/content_v2_1/classes.rb +6 -3
  47. data/generated/google/apis/displayvideo_v1.rb +1 -1
  48. data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
  49. data/generated/google/apis/displayvideo_v1/service.rb +8 -8
  50. data/generated/google/apis/dlp_v2.rb +1 -1
  51. data/generated/google/apis/dlp_v2/classes.rb +4 -3
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +181 -0
  54. data/generated/google/apis/dns_v1/representations.rb +83 -0
  55. data/generated/google/apis/dns_v1beta2.rb +1 -1
  56. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  57. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  58. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  59. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  60. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  61. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  62. data/generated/google/apis/domains_v1beta1.rb +34 -0
  63. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  64. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  65. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  66. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  67. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  68. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  69. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
  70. data/generated/google/apis/drive_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2/classes.rb +2 -0
  72. data/generated/google/apis/drive_v3.rb +1 -1
  73. data/generated/google/apis/drive_v3/classes.rb +4 -2
  74. data/generated/google/apis/fitness_v1.rb +1 -1
  75. data/generated/google/apis/fitness_v1/service.rb +3 -1
  76. data/generated/google/apis/gameservices_v1.rb +1 -1
  77. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  78. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  79. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  80. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  81. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  82. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  83. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  84. data/generated/google/apis/healthcare_v1.rb +1 -1
  85. data/generated/google/apis/healthcare_v1/classes.rb +4 -4
  86. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
  88. data/generated/google/apis/licensing_v1.rb +1 -1
  89. data/generated/google/apis/licensing_v1/service.rb +2 -2
  90. data/generated/google/apis/localservices_v1.rb +1 -1
  91. data/generated/google/apis/localservices_v1/service.rb +20 -20
  92. data/generated/google/apis/managedidentities_v1.rb +1 -1
  93. data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
  94. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  95. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  96. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
  97. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
  98. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  99. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  100. data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
  101. data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
  102. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  103. data/generated/google/apis/monitoring_v3.rb +1 -1
  104. data/generated/google/apis/monitoring_v3/classes.rb +8 -8
  105. data/generated/google/apis/people_v1.rb +1 -1
  106. data/generated/google/apis/people_v1/classes.rb +45 -45
  107. data/generated/google/apis/playablelocations_v3.rb +1 -1
  108. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  109. data/generated/google/apis/poly_v1.rb +3 -4
  110. data/generated/google/apis/poly_v1/classes.rb +65 -79
  111. data/generated/google/apis/poly_v1/service.rb +50 -63
  112. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  113. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  114. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  115. data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
  116. data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
  117. data/generated/google/apis/run_v1.rb +1 -1
  118. data/generated/google/apis/run_v1/classes.rb +7 -6
  119. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  120. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  121. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  122. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  123. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  124. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  125. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  126. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  127. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
  128. data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
  129. data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
  130. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  131. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  132. data/generated/google/apis/sts_v1beta.rb +1 -1
  133. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  134. data/generated/google/apis/tpu_v1.rb +1 -1
  135. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  136. data/generated/google/apis/tpu_v1/service.rb +8 -8
  137. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  138. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  139. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  140. data/generated/google/apis/vault_v1.rb +1 -1
  141. data/generated/google/apis/vault_v1/classes.rb +333 -0
  142. data/generated/google/apis/vault_v1/representations.rb +162 -0
  143. data/generated/google/apis/vault_v1/service.rb +151 -0
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_v3.rb +1 -1
  146. data/generated/google/apis/youtube_v3/service.rb +2 -2
  147. data/google-api-client.gemspec +1 -1
  148. data/lib/google/apis/core/api_command.rb +1 -0
  149. data/lib/google/apis/version.rb +1 -1
  150. data/synth.py +40 -0
  151. metadata +13 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/spectrum-access-system/
26
26
  module ProdTtSasportalV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20200908'
28
+ REVISION = '20201013'
29
29
 
30
30
  # View your email address
31
31
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
@@ -825,6 +825,115 @@ module Google
825
825
  execute_or_queue_command(command, &block)
826
826
  end
827
827
 
828
+ # Creates a device under a node or customer.
829
+ # @param [String] parent
830
+ # Required. The name of the parent resource.
831
+ # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice] sas_portal_device_object
832
+ # @param [String] fields
833
+ # Selector specifying which fields to include in a partial response.
834
+ # @param [String] quota_user
835
+ # Available to use for quota purposes for server-side applications. Can be any
836
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
837
+ # @param [Google::Apis::RequestOptions] options
838
+ # Request-specific options
839
+ #
840
+ # @yield [result, err] Result & error if block supplied
841
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice] parsed result object
842
+ # @yieldparam err [StandardError] error object if request failed
843
+ #
844
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice]
845
+ #
846
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
847
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
848
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
849
+ def create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
850
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
851
+ command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
852
+ command.request_object = sas_portal_device_object
853
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
854
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
855
+ command.params['parent'] = parent unless parent.nil?
856
+ command.query['fields'] = fields unless fields.nil?
857
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
858
+ execute_or_queue_command(command, &block)
859
+ end
860
+
861
+ # Creates a signed device under a node or customer.
862
+ # @param [String] parent
863
+ # Required. The name of the parent resource.
864
+ # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest] sas_portal_create_signed_device_request_object
865
+ # @param [String] fields
866
+ # Selector specifying which fields to include in a partial response.
867
+ # @param [String] quota_user
868
+ # Available to use for quota purposes for server-side applications. Can be any
869
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
870
+ # @param [Google::Apis::RequestOptions] options
871
+ # Request-specific options
872
+ #
873
+ # @yield [result, err] Result & error if block supplied
874
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice] parsed result object
875
+ # @yieldparam err [StandardError] error object if request failed
876
+ #
877
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice]
878
+ #
879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
882
+ def create_customer_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
883
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
884
+ command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
885
+ command.request_object = sas_portal_create_signed_device_request_object
886
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
887
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
888
+ command.params['parent'] = parent unless parent.nil?
889
+ command.query['fields'] = fields unless fields.nil?
890
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
891
+ execute_or_queue_command(command, &block)
892
+ end
893
+
894
+ # Lists devices under a node or customer.
895
+ # @param [String] parent
896
+ # Required. The name of the parent resource.
897
+ # @param [String] filter
898
+ # The filter expression. The filter should have one of the following formats: "
899
+ # sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the
900
+ # device. The filter is case insensitive.
901
+ # @param [Fixnum] page_size
902
+ # The maximum number of devices to return in the response. If empty or zero, all
903
+ # devices will be listed. Must be in the range [0, 1000].
904
+ # @param [String] page_token
905
+ # A pagination token returned from a previous call to ListDevices that indicates
906
+ # where this listing should continue from.
907
+ # @param [String] fields
908
+ # Selector specifying which fields to include in a partial response.
909
+ # @param [String] quota_user
910
+ # Available to use for quota purposes for server-side applications. Can be any
911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
912
+ # @param [Google::Apis::RequestOptions] options
913
+ # Request-specific options
914
+ #
915
+ # @yield [result, err] Result & error if block supplied
916
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse] parsed result object
917
+ # @yieldparam err [StandardError] error object if request failed
918
+ #
919
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse]
920
+ #
921
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
922
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
923
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
924
+ def list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
925
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
926
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
927
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
928
+ command.params['parent'] = parent unless parent.nil?
929
+ command.query['filter'] = filter unless filter.nil?
930
+ command.query['pageSize'] = page_size unless page_size.nil?
931
+ command.query['pageToken'] = page_token unless page_token.nil?
932
+ command.query['fields'] = fields unless fields.nil?
933
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
934
+ execute_or_queue_command(command, &block)
935
+ end
936
+
828
937
  # Creates a new node.
829
938
  # @param [String] parent
830
939
  # Required. The parent resource name where the node is to be created.
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
29
29
  module RealtimebiddingV1
30
30
  VERSION = 'V1'
31
- REVISION = '20201008'
31
+ REVISION = '20201013'
32
32
 
33
33
  # See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
34
34
  AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'
@@ -174,10 +174,10 @@ module Google
174
174
  # @return [Array<String>]
175
175
  attr_accessor :impression_tracking_urls
176
176
 
177
- # Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
178
- # , where ``buyer`` represents the account ID of the buyer who owns the creative,
179
- # and ``creative`` is the buyer-specific creative ID that references this
180
- # creative in the bid response.
177
+ # Output only. Name of the creative. Follows the pattern `buyers/`buyer`/
178
+ # creatives/`creative``, where ``buyer`` represents the account ID of the buyer
179
+ # who owns the creative, and ``creative`` is the buyer-specific creative ID that
180
+ # references this creative in the bid response.
181
181
  # Corresponds to the JSON property `name`
182
182
  # @return [String]
183
183
  attr_accessor :name
@@ -351,31 +351,31 @@ module Google
351
351
  end
352
352
  end
353
353
 
354
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
355
- # and time zone are either specified elsewhere or are not significant. The date
356
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
357
- # date, with non-zero year, month and day values * A month and day value, with a
358
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
359
- # values * A year and month value, with a zero day, e.g. a credit card
360
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
361
- # Timestamp`.
354
+ # Represents a whole or partial calendar date, such as a birthday. The time of
355
+ # day and time zone are either specified elsewhere or are insignificant. The
356
+ # date is relative to the Gregorian Calendar. This can represent one of the
357
+ # following: * A full date, with non-zero year, month, and day values * A month
358
+ # and day value, with a zero year, such as an anniversary * A year on its own,
359
+ # with zero month and day values * A year and month value, with a zero day, such
360
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
361
+ # google.protobuf.Timestamp`.
362
362
  class Date
363
363
  include Google::Apis::Core::Hashable
364
364
 
365
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
366
- # specifying a year by itself or a year and month where the day is not
367
- # significant.
365
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
366
+ # specify a year by itself or a year and month where the day isn't significant.
368
367
  # Corresponds to the JSON property `day`
369
368
  # @return [Fixnum]
370
369
  attr_accessor :day
371
370
 
372
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
371
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
373
372
  # and day.
374
373
  # Corresponds to the JSON property `month`
375
374
  # @return [Fixnum]
376
375
  attr_accessor :month
377
376
 
378
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
377
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
378
+ # year.
379
379
  # Corresponds to the JSON property `year`
380
380
  # @return [Fixnum]
381
381
  attr_accessor :year
@@ -1054,14 +1054,14 @@ module Google
1054
1054
  class UrlRestriction
1055
1055
  include Google::Apis::Core::Hashable
1056
1056
 
1057
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1058
- # and time zone are either specified elsewhere or are not significant. The date
1059
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1060
- # date, with non-zero year, month and day values * A month and day value, with a
1061
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
1062
- # values * A year and month value, with a zero day, e.g. a credit card
1063
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1064
- # Timestamp`.
1057
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1058
+ # day and time zone are either specified elsewhere or are insignificant. The
1059
+ # date is relative to the Gregorian Calendar. This can represent one of the
1060
+ # following: * A full date, with non-zero year, month, and day values * A month
1061
+ # and day value, with a zero year, such as an anniversary * A year on its own,
1062
+ # with zero month and day values * A year and month value, with a zero day, such
1063
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
1064
+ # google.protobuf.Timestamp`.
1065
1065
  # Corresponds to the JSON property `endDate`
1066
1066
  # @return [Google::Apis::RealtimebiddingV1::Date]
1067
1067
  attr_accessor :end_date
@@ -1071,14 +1071,14 @@ module Google
1071
1071
  # @return [String]
1072
1072
  attr_accessor :restriction_type
1073
1073
 
1074
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1075
- # and time zone are either specified elsewhere or are not significant. The date
1076
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1077
- # date, with non-zero year, month and day values * A month and day value, with a
1078
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
1079
- # values * A year and month value, with a zero day, e.g. a credit card
1080
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1081
- # Timestamp`.
1074
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1075
+ # day and time zone are either specified elsewhere or are insignificant. The
1076
+ # date is relative to the Gregorian Calendar. This can represent one of the
1077
+ # following: * A full date, with non-zero year, month, and day values * A month
1078
+ # and day value, with a zero year, such as an anniversary * A year on its own,
1079
+ # with zero month and day values * A year and month value, with a zero day, such
1080
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
1081
+ # google.protobuf.Timestamp`.
1082
1082
  # Corresponds to the JSON property `startDate`
1083
1083
  # @return [Google::Apis::RealtimebiddingV1::Date]
1084
1084
  attr_accessor :start_date
@@ -327,10 +327,10 @@ module Google
327
327
 
328
328
  # Updates a creative.
329
329
  # @param [String] name
330
- # Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
331
- # , where ``buyer`` represents the account ID of the buyer who owns the creative,
332
- # and ``creative`` is the buyer-specific creative ID that references this
333
- # creative in the bid response.
330
+ # Output only. Name of the creative. Follows the pattern `buyers/`buyer`/
331
+ # creatives/`creative``, where ``buyer`` represents the account ID of the buyer
332
+ # who owns the creative, and ``creative`` is the buyer-specific creative ID that
333
+ # references this creative in the bid response.
334
334
  # @param [Google::Apis::RealtimebiddingV1::Creative] creative_object
335
335
  # @param [String] update_mask
336
336
  # Field mask to use for partial in-place updates.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201002'
29
+ REVISION = '20201012'
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'
@@ -1974,11 +1974,12 @@ module Google
1974
1974
  include Google::Apis::Core::Hashable
1975
1975
 
1976
1976
  # (Optional) Cloud Run fully managed: Only memory and CPU are supported. Note:
1977
- # The only supported values for CPU are '1' and '2'. Cloud Run for Anthos:
1978
- # supported Limits describes the maximum amount of compute resources allowed.
1979
- # The values of the map is string form of the 'quantity' k8s type: https://
1980
- # github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/
1981
- # pkg/api/resource/quantity.go
1977
+ # The only supported values for CPU are '1', '2', and '4'. Setting 4 CPU
1978
+ # requires at least 2Gi of memory. Cloud Run for Anthos: supported Limits
1979
+ # describes the maximum amount of compute resources allowed. The values of the
1980
+ # map is string form of the 'quantity' k8s type: https://github.com/kubernetes/
1981
+ # kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/
1982
+ # quantity.go
1982
1983
  # Corresponds to the JSON property `limits`
1983
1984
  # @return [Hash<String,String>]
1984
1985
  attr_accessor :limits
@@ -2966,7 +2967,7 @@ module Google
2966
2967
  attr_accessor :revision_name
2967
2968
 
2968
2969
  # Tag is optionally used to expose a dedicated url for referencing this target
2969
- # exclusively. Not currently supported in Cloud Run. +optional
2970
+ # exclusively. +optional
2970
2971
  # Corresponds to the JSON property `tag`
2971
2972
  # @return [String]
2972
2973
  attr_accessor :tag
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200908'
29
+ REVISION = '20201015'
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'
@@ -515,7 +515,8 @@ module Google
515
515
  class AuthenticationRule
516
516
  include Google::Apis::Core::Hashable
517
517
 
518
- # If true, the service accepts API keys without any other credential.
518
+ # If true, the service accepts API keys without any other credential. This flag
519
+ # only applies to HTTP and gRPC requests.
519
520
  # Corresponds to the JSON property `allowWithoutCredential`
520
521
  # @return [Boolean]
521
522
  attr_accessor :allow_without_credential
@@ -801,6 +802,108 @@ module Google
801
802
  end
802
803
  end
803
804
 
805
+ # Configuration information for a private service access connection.
806
+ class ConsumerConfig
807
+ include Google::Apis::Core::Hashable
808
+
809
+ # Export custom routes flag value for peering from consumer to producer.
810
+ # Corresponds to the JSON property `consumerExportCustomRoutes`
811
+ # @return [Boolean]
812
+ attr_accessor :consumer_export_custom_routes
813
+ alias_method :consumer_export_custom_routes?, :consumer_export_custom_routes
814
+
815
+ # Export subnet routes with public ip flag value for peering from consumer to
816
+ # producer.
817
+ # Corresponds to the JSON property `consumerExportSubnetRoutesWithPublicIp`
818
+ # @return [Boolean]
819
+ attr_accessor :consumer_export_subnet_routes_with_public_ip
820
+ alias_method :consumer_export_subnet_routes_with_public_ip?, :consumer_export_subnet_routes_with_public_ip
821
+
822
+ # Import custom routes flag value for peering from consumer to producer.
823
+ # Corresponds to the JSON property `consumerImportCustomRoutes`
824
+ # @return [Boolean]
825
+ attr_accessor :consumer_import_custom_routes
826
+ alias_method :consumer_import_custom_routes?, :consumer_import_custom_routes
827
+
828
+ # Import subnet routes with public ip flag value for peering from consumer to
829
+ # producer.
830
+ # Corresponds to the JSON property `consumerImportSubnetRoutesWithPublicIp`
831
+ # @return [Boolean]
832
+ attr_accessor :consumer_import_subnet_routes_with_public_ip
833
+ alias_method :consumer_import_subnet_routes_with_public_ip?, :consumer_import_subnet_routes_with_public_ip
834
+
835
+ # Export custom routes flag value for peering from producer to consumer.
836
+ # Corresponds to the JSON property `producerExportCustomRoutes`
837
+ # @return [Boolean]
838
+ attr_accessor :producer_export_custom_routes
839
+ alias_method :producer_export_custom_routes?, :producer_export_custom_routes
840
+
841
+ # Export subnet routes with public ip flag value for peering from producer to
842
+ # consumer.
843
+ # Corresponds to the JSON property `producerExportSubnetRoutesWithPublicIp`
844
+ # @return [Boolean]
845
+ attr_accessor :producer_export_subnet_routes_with_public_ip
846
+ alias_method :producer_export_subnet_routes_with_public_ip?, :producer_export_subnet_routes_with_public_ip
847
+
848
+ # Import custom routes flag value for peering from producer to consumer.
849
+ # Corresponds to the JSON property `producerImportCustomRoutes`
850
+ # @return [Boolean]
851
+ attr_accessor :producer_import_custom_routes
852
+ alias_method :producer_import_custom_routes?, :producer_import_custom_routes
853
+
854
+ # Import subnet routes with public ip flag value for peering from producer to
855
+ # consumer.
856
+ # Corresponds to the JSON property `producerImportSubnetRoutesWithPublicIp`
857
+ # @return [Boolean]
858
+ attr_accessor :producer_import_subnet_routes_with_public_ip
859
+ alias_method :producer_import_subnet_routes_with_public_ip?, :producer_import_subnet_routes_with_public_ip
860
+
861
+ # Output only. The VPC host network that is used to host managed service
862
+ # instances. In the format, projects/`project`/global/networks/`network` where `
863
+ # project` is the project number e.g. '12345' and `network` is the network name.
864
+ # Corresponds to the JSON property `producerNetwork`
865
+ # @return [String]
866
+ attr_accessor :producer_network
867
+
868
+ # Output only. The name of the allocated IP address ranges for this private
869
+ # service access connection.
870
+ # Corresponds to the JSON property `reservedRanges`
871
+ # @return [Array<String>]
872
+ attr_accessor :reserved_ranges
873
+
874
+ def initialize(**args)
875
+ update!(**args)
876
+ end
877
+
878
+ # Update properties of this object
879
+ def update!(**args)
880
+ @consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes)
881
+ @consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip)
882
+ @consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes)
883
+ @consumer_import_subnet_routes_with_public_ip = args[:consumer_import_subnet_routes_with_public_ip] if args.key?(:consumer_import_subnet_routes_with_public_ip)
884
+ @producer_export_custom_routes = args[:producer_export_custom_routes] if args.key?(:producer_export_custom_routes)
885
+ @producer_export_subnet_routes_with_public_ip = args[:producer_export_subnet_routes_with_public_ip] if args.key?(:producer_export_subnet_routes_with_public_ip)
886
+ @producer_import_custom_routes = args[:producer_import_custom_routes] if args.key?(:producer_import_custom_routes)
887
+ @producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip)
888
+ @producer_network = args[:producer_network] if args.key?(:producer_network)
889
+ @reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges)
890
+ end
891
+ end
892
+
893
+ # Metadata provided through GetOperation request for the LRO generated by
894
+ # UpdateConsumerConfig API.
895
+ class ConsumerConfigMetadata
896
+ include Google::Apis::Core::Hashable
897
+
898
+ def initialize(**args)
899
+ update!(**args)
900
+ end
901
+
902
+ # Update properties of this object
903
+ def update!(**args)
904
+ end
905
+ end
906
+
804
907
  # Represents a consumer project.
805
908
  class ConsumerProject
806
909
  include Google::Apis::Core::Hashable
@@ -827,7 +930,7 @@ module Google
827
930
  # context.OriginContext The above specifies that all methods in the API request `
828
931
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
829
932
  # Available context types are defined in package `google.rpc.context`. This also
830
- # provides mechanism to whitelist any protobuf message extension that can be
933
+ # provides mechanism to allowlist any protobuf message extension that can be
831
934
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
832
935
  # For example, list any service specific protobuf types that can appear in grpc
833
936
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -2694,7 +2797,7 @@ module Google
2694
2797
  # @return [String]
2695
2798
  attr_accessor :member
2696
2799
 
2697
- # Required. Role to apply. Only whitelisted roles can be used at the specified
2800
+ # Required. Role to apply. Only allowlisted roles can be used at the specified
2698
2801
  # granularity. The role must be one of the following: - 'roles/container.
2699
2802
  # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
2700
2803
  # securityAdmin' applied on the shared VPC host project
@@ -3182,7 +3285,7 @@ module Google
3182
3285
  # context.OriginContext The above specifies that all methods in the API request `
3183
3286
  # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
3184
3287
  # Available context types are defined in package `google.rpc.context`. This also
3185
- # provides mechanism to whitelist any protobuf message extension that can be
3288
+ # provides mechanism to allowlist any protobuf message extension that can be
3186
3289
  # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
3187
3290
  # For example, list any service specific protobuf types that can appear in grpc
3188
3291
  # metadata as follows in your yaml file: Example: context: rules: - selector: "
@@ -142,6 +142,18 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class ConsumerConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ConsumerConfigMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class ConsumerProject
146
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
159
 
@@ -773,6 +785,28 @@ module Google
773
785
  end
774
786
  end
775
787
 
788
+ class ConsumerConfig
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :consumer_export_custom_routes, as: 'consumerExportCustomRoutes'
792
+ property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp'
793
+ property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes'
794
+ property :consumer_import_subnet_routes_with_public_ip, as: 'consumerImportSubnetRoutesWithPublicIp'
795
+ property :producer_export_custom_routes, as: 'producerExportCustomRoutes'
796
+ property :producer_export_subnet_routes_with_public_ip, as: 'producerExportSubnetRoutesWithPublicIp'
797
+ property :producer_import_custom_routes, as: 'producerImportCustomRoutes'
798
+ property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp'
799
+ property :producer_network, as: 'producerNetwork'
800
+ collection :reserved_ranges, as: 'reservedRanges'
801
+ end
802
+ end
803
+
804
+ class ConsumerConfigMetadata
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ end
808
+ end
809
+
776
810
  class ConsumerProject
777
811
  # @private
778
812
  class Representation < Google::Apis::Core::JsonRepresentation