google-api-client 0.30.5 → 0.30.6

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 (165) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +63 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
  5. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
  7. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  8. data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
  9. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  10. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
  13. data/generated/google/apis/cloudasset_v1.rb +1 -1
  14. data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
  15. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  16. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  17. data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
  18. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  20. data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
  21. data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
  22. data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
  23. data/generated/google/apis/cloudiot_v1.rb +1 -1
  24. data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
  25. data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
  26. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  27. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
  28. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
  29. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
  30. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  31. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
  32. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
  33. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  34. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
  35. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
  37. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
  39. data/generated/google/apis/compute_alpha.rb +1 -1
  40. data/generated/google/apis/compute_alpha/classes.rb +261 -145
  41. data/generated/google/apis/compute_beta.rb +1 -1
  42. data/generated/google/apis/compute_beta/classes.rb +261 -145
  43. data/generated/google/apis/compute_beta/service.rb +1 -1
  44. data/generated/google/apis/compute_v1.rb +1 -1
  45. data/generated/google/apis/compute_v1/classes.rb +242 -125
  46. data/generated/google/apis/container_v1.rb +1 -1
  47. data/generated/google/apis/container_v1/classes.rb +43 -0
  48. data/generated/google/apis/container_v1/representations.rb +19 -0
  49. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  50. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
  51. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
  52. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  53. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
  54. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2/classes.rb +0 -6
  57. data/generated/google/apis/content_v2/representations.rb +0 -1
  58. data/generated/google/apis/content_v2_1.rb +1 -1
  59. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  60. data/generated/google/apis/dataproc_v1.rb +1 -1
  61. data/generated/google/apis/dataproc_v1/classes.rb +27 -0
  62. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  63. data/generated/google/apis/dataproc_v1/service.rb +0 -216
  64. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  65. data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
  66. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  67. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
  68. data/generated/google/apis/dialogflow_v2.rb +1 -1
  69. data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
  70. data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
  71. data/generated/google/apis/dialogflow_v2/service.rb +47 -0
  72. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  73. data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
  74. data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
  75. data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
  76. data/generated/google/apis/fcm_v1.rb +1 -1
  77. data/generated/google/apis/fcm_v1/classes.rb +29 -0
  78. data/generated/google/apis/fcm_v1/representations.rb +3 -0
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
  85. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
  86. data/generated/google/apis/iam_v1.rb +1 -1
  87. data/generated/google/apis/iam_v1/classes.rb +12 -12
  88. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  89. data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
  90. data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
  91. data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
  92. data/generated/google/apis/iap_v1.rb +1 -1
  93. data/generated/google/apis/iap_v1/classes.rb +2 -2
  94. data/generated/google/apis/iap_v1beta1.rb +1 -1
  95. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/language_v1.rb +1 -1
  97. data/generated/google/apis/language_v1beta2.rb +1 -1
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/ml_v1/classes.rb +11 -11
  100. data/generated/google/apis/ml_v1/service.rb +14 -2
  101. data/generated/google/apis/pubsub_v1.rb +1 -1
  102. data/generated/google/apis/pubsub_v1/service.rb +21 -3
  103. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  104. data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
  105. data/generated/google/apis/run_v1alpha1.rb +1 -1
  106. data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
  107. data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
  108. data/generated/google/apis/run_v1alpha1/service.rb +7 -1
  109. data/generated/google/apis/run_v1beta1.rb +35 -0
  110. data/generated/google/apis/run_v1beta1/classes.rb +98 -0
  111. data/generated/google/apis/run_v1beta1/representations.rb +58 -0
  112. data/generated/google/apis/run_v1beta1/service.rb +99 -0
  113. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  114. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
  115. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
  116. data/generated/google/apis/securitycenter_v1.rb +1 -1
  117. data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
  118. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  119. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  120. data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
  121. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  122. data/generated/google/apis/servicebroker_v1.rb +1 -1
  123. data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
  124. data/generated/google/apis/servicebroker_v1/service.rb +7 -1
  125. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  126. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
  127. data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
  128. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  129. data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
  130. data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
  131. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  132. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
  133. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  134. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  135. data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
  136. data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
  137. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  138. data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
  139. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  140. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  141. data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
  142. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  143. data/generated/google/apis/serviceusage_v1.rb +1 -1
  144. data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
  145. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  146. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  147. data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
  148. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  149. data/generated/google/apis/sheets_v4.rb +1 -1
  150. data/generated/google/apis/slides_v1.rb +1 -1
  151. data/generated/google/apis/tagmanager_v1.rb +1 -1
  152. data/generated/google/apis/tagmanager_v2.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1.rb +1 -1
  154. data/generated/google/apis/videointelligence_v1/service.rb +0 -104
  155. data/generated/google/apis/vision_v1.rb +1 -1
  156. data/generated/google/apis/vision_v1/classes.rb +1995 -0
  157. data/generated/google/apis/vision_v1/representations.rb +1711 -843
  158. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  159. data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
  160. data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
  161. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  162. data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
  163. data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
  164. data/lib/google/apis/version.rb +1 -1
  165. metadata +6 -2
@@ -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 = '20190610'
29
+ REVISION = '20190628'
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'
@@ -924,6 +924,11 @@ module Google
924
924
  class GetJsonWebKeysResponse
925
925
  include Google::Apis::Core::Hashable
926
926
 
927
+ # RFC-2616: cache control support
928
+ # Corresponds to the JSON property `cacheHeader`
929
+ # @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
930
+ attr_accessor :cache_header
931
+
927
932
  # The public component of the keys used by the cluster to sign token
928
933
  # requests.
929
934
  # Corresponds to the JSON property `keys`
@@ -936,6 +941,7 @@ module Google
936
941
 
937
942
  # Update properties of this object
938
943
  def update!(**args)
944
+ @cache_header = args[:cache_header] if args.key?(:cache_header)
939
945
  @keys = args[:keys] if args.key?(:keys)
940
946
  end
941
947
  end
@@ -945,6 +951,11 @@ module Google
945
951
  class GetOpenIdConfigResponse
946
952
  include Google::Apis::Core::Hashable
947
953
 
954
+ # RFC-2616: cache control support
955
+ # Corresponds to the JSON property `cacheHeader`
956
+ # @return [Google::Apis::ContainerV1::HttpCacheControlResponseHeader]
957
+ attr_accessor :cache_header
958
+
948
959
  # Supported claims.
949
960
  # Corresponds to the JSON property `claims_supported`
950
961
  # @return [Array<String>]
@@ -986,6 +997,7 @@ module Google
986
997
 
987
998
  # Update properties of this object
988
999
  def update!(**args)
1000
+ @cache_header = args[:cache_header] if args.key?(:cache_header)
989
1001
  @claims_supported = args[:claims_supported] if args.key?(:claims_supported)
990
1002
  @grant_types = args[:grant_types] if args.key?(:grant_types)
991
1003
  @id_token_signing_alg_values_supported = args[:id_token_signing_alg_values_supported] if args.key?(:id_token_signing_alg_values_supported)
@@ -1020,6 +1032,37 @@ module Google
1020
1032
  end
1021
1033
  end
1022
1034
 
1035
+ # RFC-2616: cache control support
1036
+ class HttpCacheControlResponseHeader
1037
+ include Google::Apis::Core::Hashable
1038
+
1039
+ # 14.6 response cache age, in seconds since the response is generated
1040
+ # Corresponds to the JSON property `age`
1041
+ # @return [Fixnum]
1042
+ attr_accessor :age
1043
+
1044
+ # 14.9 request and response directives
1045
+ # Corresponds to the JSON property `directive`
1046
+ # @return [String]
1047
+ attr_accessor :directive
1048
+
1049
+ # 14.21 response cache expires, in RFC 1123 date format
1050
+ # Corresponds to the JSON property `expires`
1051
+ # @return [String]
1052
+ attr_accessor :expires
1053
+
1054
+ def initialize(**args)
1055
+ update!(**args)
1056
+ end
1057
+
1058
+ # Update properties of this object
1059
+ def update!(**args)
1060
+ @age = args[:age] if args.key?(:age)
1061
+ @directive = args[:directive] if args.key?(:directive)
1062
+ @expires = args[:expires] if args.key?(:expires)
1063
+ end
1064
+ end
1065
+
1023
1066
  # Configuration options for the HTTP (L7) load balancing controller addon,
1024
1067
  # which makes it easy to set up HTTP load balancers for services in a cluster.
1025
1068
  class HttpLoadBalancing
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class HttpCacheControlResponseHeader
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class HttpLoadBalancing
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -609,6 +615,8 @@ module Google
609
615
  class GetJsonWebKeysResponse
610
616
  # @private
611
617
  class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :cache_header, as: 'cacheHeader', class: Google::Apis::ContainerV1::HttpCacheControlResponseHeader, decorator: Google::Apis::ContainerV1::HttpCacheControlResponseHeader::Representation
619
+
612
620
  collection :keys, as: 'keys', class: Google::Apis::ContainerV1::Jwk, decorator: Google::Apis::ContainerV1::Jwk::Representation
613
621
 
614
622
  end
@@ -617,6 +625,8 @@ module Google
617
625
  class GetOpenIdConfigResponse
618
626
  # @private
619
627
  class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :cache_header, as: 'cacheHeader', class: Google::Apis::ContainerV1::HttpCacheControlResponseHeader, decorator: Google::Apis::ContainerV1::HttpCacheControlResponseHeader::Representation
629
+
620
630
  collection :claims_supported, as: 'claims_supported'
621
631
  collection :grant_types, as: 'grant_types'
622
632
  collection :id_token_signing_alg_values_supported, as: 'id_token_signing_alg_values_supported'
@@ -634,6 +644,15 @@ module Google
634
644
  end
635
645
  end
636
646
 
647
+ class HttpCacheControlResponseHeader
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ property :age, :numeric_string => true, as: 'age'
651
+ property :directive, as: 'directive'
652
+ property :expires, as: 'expires'
653
+ end
654
+ end
655
+
637
656
  class HttpLoadBalancing
638
657
  # @private
639
658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190625'
29
+ REVISION = '20190627'
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'
@@ -1085,12 +1085,40 @@ module Google
1085
1085
  class GetIamPolicyRequest
1086
1086
  include Google::Apis::Core::Hashable
1087
1087
 
1088
+ # Encapsulates settings provided to GetIamPolicy.
1089
+ # Corresponds to the JSON property `options`
1090
+ # @return [Google::Apis::ContaineranalysisV1alpha1::GetPolicyOptions]
1091
+ attr_accessor :options
1092
+
1093
+ def initialize(**args)
1094
+ update!(**args)
1095
+ end
1096
+
1097
+ # Update properties of this object
1098
+ def update!(**args)
1099
+ @options = args[:options] if args.key?(:options)
1100
+ end
1101
+ end
1102
+
1103
+ # Encapsulates settings provided to GetIamPolicy.
1104
+ class GetPolicyOptions
1105
+ include Google::Apis::Core::Hashable
1106
+
1107
+ # Optional. The policy format version to be returned.
1108
+ # Acceptable values are 0 and 1.
1109
+ # If the value is 0, or the field is omitted, policy format version 1 will be
1110
+ # returned.
1111
+ # Corresponds to the JSON property `requestedPolicyVersion`
1112
+ # @return [Fixnum]
1113
+ attr_accessor :requested_policy_version
1114
+
1088
1115
  def initialize(**args)
1089
1116
  update!(**args)
1090
1117
  end
1091
1118
 
1092
1119
  # Update properties of this object
1093
1120
  def update!(**args)
1121
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
1094
1122
  end
1095
1123
  end
1096
1124
 
@@ -178,6 +178,12 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class GetPolicyOptions
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
181
187
  class GetVulnzOccurrencesSummaryResponse
182
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
189
 
@@ -676,6 +682,15 @@ module Google
676
682
  class GetIamPolicyRequest
677
683
  # @private
678
684
  class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :options, as: 'options', class: Google::Apis::ContaineranalysisV1alpha1::GetPolicyOptions, decorator: Google::Apis::ContaineranalysisV1alpha1::GetPolicyOptions::Representation
686
+
687
+ end
688
+ end
689
+
690
+ class GetPolicyOptions
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :requested_policy_version, as: 'requestedPolicyVersion'
679
694
  end
680
695
  end
681
696
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190604'
29
+ REVISION = '20190627'
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'
@@ -1343,12 +1343,40 @@ module Google
1343
1343
  class GetIamPolicyRequest
1344
1344
  include Google::Apis::Core::Hashable
1345
1345
 
1346
+ # Encapsulates settings provided to GetIamPolicy.
1347
+ # Corresponds to the JSON property `options`
1348
+ # @return [Google::Apis::ContaineranalysisV1beta1::GetPolicyOptions]
1349
+ attr_accessor :options
1350
+
1351
+ def initialize(**args)
1352
+ update!(**args)
1353
+ end
1354
+
1355
+ # Update properties of this object
1356
+ def update!(**args)
1357
+ @options = args[:options] if args.key?(:options)
1358
+ end
1359
+ end
1360
+
1361
+ # Encapsulates settings provided to GetIamPolicy.
1362
+ class GetPolicyOptions
1363
+ include Google::Apis::Core::Hashable
1364
+
1365
+ # Optional. The policy format version to be returned.
1366
+ # Acceptable values are 0 and 1.
1367
+ # If the value is 0, or the field is omitted, policy format version 1 will be
1368
+ # returned.
1369
+ # Corresponds to the JSON property `requestedPolicyVersion`
1370
+ # @return [Fixnum]
1371
+ attr_accessor :requested_policy_version
1372
+
1346
1373
  def initialize(**args)
1347
1374
  update!(**args)
1348
1375
  end
1349
1376
 
1350
1377
  # Update properties of this object
1351
1378
  def update!(**args)
1379
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
1352
1380
  end
1353
1381
  end
1354
1382
 
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class GetPolicyOptions
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class GitSourceContext
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -813,6 +819,15 @@ module Google
813
819
  class GetIamPolicyRequest
814
820
  # @private
815
821
  class Representation < Google::Apis::Core::JsonRepresentation
822
+ property :options, as: 'options', class: Google::Apis::ContaineranalysisV1beta1::GetPolicyOptions, decorator: Google::Apis::ContaineranalysisV1beta1::GetPolicyOptions::Representation
823
+
824
+ end
825
+ end
826
+
827
+ class GetPolicyOptions
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ property :requested_policy_version, as: 'requestedPolicyVersion'
816
831
  end
817
832
  end
818
833
 
@@ -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 = '20190702'
29
+ REVISION = '20190705'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -9628,11 +9628,6 @@ module Google
9628
9628
  # @return [Fixnum]
9629
9629
  attr_accessor :batch_id
9630
9630
 
9631
- # The ContentAPI feed id.
9632
- # Corresponds to the JSON property `feedId`
9633
- # @return [Fixnum]
9634
- attr_accessor :feed_id
9635
-
9636
9631
  # The ID of the managing account.
9637
9632
  # Corresponds to the JSON property `merchantId`
9638
9633
  # @return [Fixnum]
@@ -9662,7 +9657,6 @@ module Google
9662
9657
  # Update properties of this object
9663
9658
  def update!(**args)
9664
9659
  @batch_id = args[:batch_id] if args.key?(:batch_id)
9665
- @feed_id = args[:feed_id] if args.key?(:feed_id)
9666
9660
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
9667
9661
  @request_method = args[:request_method] if args.key?(:request_method)
9668
9662
  @product = args[:product] if args.key?(:product)
@@ -4286,7 +4286,6 @@ module Google
4286
4286
  # @private
4287
4287
  class Representation < Google::Apis::Core::JsonRepresentation
4288
4288
  property :batch_id, as: 'batchId'
4289
- property :feed_id, :numeric_string => true, as: 'feedId'
4290
4289
  property :merchant_id, :numeric_string => true, as: 'merchantId'
4291
4290
  property :request_method, as: 'method'
4292
4291
  property :product, as: 'product', class: Google::Apis::ContentV2::Product, decorator: Google::Apis::ContentV2::Product::Representation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20190702'
29
+ REVISION = '20190705'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -7661,7 +7661,7 @@ module Google
7661
7661
  # @return [Fixnum]
7662
7662
  attr_accessor :batch_id
7663
7663
 
7664
- # The ContentAPI feed id.
7664
+ # The Content API feed id.
7665
7665
  # Corresponds to the JSON property `feedId`
7666
7666
  # @return [Fixnum]
7667
7667
  attr_accessor :feed_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190606'
28
+ REVISION = '20190627'
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'
@@ -758,12 +758,39 @@ module Google
758
758
  class GetIamPolicyRequest
759
759
  include Google::Apis::Core::Hashable
760
760
 
761
+ # Encapsulates settings provided to GetIamPolicy.
762
+ # Corresponds to the JSON property `options`
763
+ # @return [Google::Apis::DataprocV1::GetPolicyOptions]
764
+ attr_accessor :options
765
+
766
+ def initialize(**args)
767
+ update!(**args)
768
+ end
769
+
770
+ # Update properties of this object
771
+ def update!(**args)
772
+ @options = args[:options] if args.key?(:options)
773
+ end
774
+ end
775
+
776
+ # Encapsulates settings provided to GetIamPolicy.
777
+ class GetPolicyOptions
778
+ include Google::Apis::Core::Hashable
779
+
780
+ # Optional. The policy format version to be returned. Acceptable values are 0
781
+ # and 1. If the value is 0, or the field is omitted, policy format version 1
782
+ # will be returned.
783
+ # Corresponds to the JSON property `requestedPolicyVersion`
784
+ # @return [Fixnum]
785
+ attr_accessor :requested_policy_version
786
+
761
787
  def initialize(**args)
762
788
  update!(**args)
763
789
  end
764
790
 
765
791
  # Update properties of this object
766
792
  def update!(**args)
793
+ @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
767
794
  end
768
795
  end
769
796
 
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class GetPolicyOptions
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class HadoopJob
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -582,6 +588,15 @@ module Google
582
588
  class GetIamPolicyRequest
583
589
  # @private
584
590
  class Representation < Google::Apis::Core::JsonRepresentation
591
+ property :options, as: 'options', class: Google::Apis::DataprocV1::GetPolicyOptions, decorator: Google::Apis::DataprocV1::GetPolicyOptions::Representation
592
+
593
+ end
594
+ end
595
+
596
+ class GetPolicyOptions
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :requested_policy_version, as: 'requestedPolicyVersion'
585
600
  end
586
601
  end
587
602
 
@@ -47,114 +47,6 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Gets the access control policy for a resource. Returns an empty policy if the
51
- # resource exists and does not have a policy set.
52
- # @param [String] resource
53
- # REQUIRED: The resource for which the policy is being requested. See the
54
- # operation documentation for the appropriate value for this field.
55
- # @param [Google::Apis::DataprocV1::GetIamPolicyRequest] get_iam_policy_request_object
56
- # @param [String] fields
57
- # Selector specifying which fields to include in a partial response.
58
- # @param [String] quota_user
59
- # Available to use for quota purposes for server-side applications. Can be any
60
- # arbitrary string assigned to a user, but should not exceed 40 characters.
61
- # @param [Google::Apis::RequestOptions] options
62
- # Request-specific options
63
- #
64
- # @yield [result, err] Result & error if block supplied
65
- # @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
66
- # @yieldparam err [StandardError] error object if request failed
67
- #
68
- # @return [Google::Apis::DataprocV1::Policy]
69
- #
70
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
- # @raise [Google::Apis::AuthorizationError] Authorization is required
73
- def get_project_location_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
74
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
75
- command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
76
- command.request_object = get_iam_policy_request_object
77
- command.response_representation = Google::Apis::DataprocV1::Policy::Representation
78
- command.response_class = Google::Apis::DataprocV1::Policy
79
- command.params['resource'] = resource unless resource.nil?
80
- command.query['fields'] = fields unless fields.nil?
81
- command.query['quotaUser'] = quota_user unless quota_user.nil?
82
- execute_or_queue_command(command, &block)
83
- end
84
-
85
- # Sets the access control policy on the specified resource. Replaces any
86
- # existing policy.
87
- # @param [String] resource
88
- # REQUIRED: The resource for which the policy is being specified. See the
89
- # operation documentation for the appropriate value for this field.
90
- # @param [Google::Apis::DataprocV1::SetIamPolicyRequest] set_iam_policy_request_object
91
- # @param [String] fields
92
- # Selector specifying which fields to include in a partial response.
93
- # @param [String] quota_user
94
- # Available to use for quota purposes for server-side applications. Can be any
95
- # arbitrary string assigned to a user, but should not exceed 40 characters.
96
- # @param [Google::Apis::RequestOptions] options
97
- # Request-specific options
98
- #
99
- # @yield [result, err] Result & error if block supplied
100
- # @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
101
- # @yieldparam err [StandardError] error object if request failed
102
- #
103
- # @return [Google::Apis::DataprocV1::Policy]
104
- #
105
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
- # @raise [Google::Apis::AuthorizationError] Authorization is required
108
- def set_project_location_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
109
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
110
- command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
111
- command.request_object = set_iam_policy_request_object
112
- command.response_representation = Google::Apis::DataprocV1::Policy::Representation
113
- command.response_class = Google::Apis::DataprocV1::Policy
114
- command.params['resource'] = resource unless resource.nil?
115
- command.query['fields'] = fields unless fields.nil?
116
- command.query['quotaUser'] = quota_user unless quota_user.nil?
117
- execute_or_queue_command(command, &block)
118
- end
119
-
120
- # Returns permissions that a caller has on the specified resource. If the
121
- # resource does not exist, this will return an empty set of permissions, not a
122
- # NOT_FOUND error.Note: This operation is designed to be used for building
123
- # permission-aware UIs and command-line tools, not for authorization checking.
124
- # This operation may "fail open" without warning.
125
- # @param [String] resource
126
- # REQUIRED: The resource for which the policy detail is being requested. See the
127
- # operation documentation for the appropriate value for this field.
128
- # @param [Google::Apis::DataprocV1::TestIamPermissionsRequest] test_iam_permissions_request_object
129
- # @param [String] fields
130
- # Selector specifying which fields to include in a partial response.
131
- # @param [String] quota_user
132
- # Available to use for quota purposes for server-side applications. Can be any
133
- # arbitrary string assigned to a user, but should not exceed 40 characters.
134
- # @param [Google::Apis::RequestOptions] options
135
- # Request-specific options
136
- #
137
- # @yield [result, err] Result & error if block supplied
138
- # @yieldparam result [Google::Apis::DataprocV1::TestIamPermissionsResponse] parsed result object
139
- # @yieldparam err [StandardError] error object if request failed
140
- #
141
- # @return [Google::Apis::DataprocV1::TestIamPermissionsResponse]
142
- #
143
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
144
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
145
- # @raise [Google::Apis::AuthorizationError] Authorization is required
146
- def test_project_location_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
147
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
148
- command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
149
- command.request_object = test_iam_permissions_request_object
150
- command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
151
- command.response_class = Google::Apis::DataprocV1::TestIamPermissionsResponse
152
- command.params['resource'] = resource unless resource.nil?
153
- command.query['fields'] = fields unless fields.nil?
154
- command.query['quotaUser'] = quota_user unless quota_user.nil?
155
- execute_or_queue_command(command, &block)
156
- end
157
-
158
50
  # Creates new workflow template.
159
51
  # @param [String] parent
160
52
  # Required. The "resource name" of the region, as described in https://cloud.
@@ -538,114 +430,6 @@ module Google
538
430
  execute_or_queue_command(command, &block)
539
431
  end
540
432
 
541
- # Gets the access control policy for a resource. Returns an empty policy if the
542
- # resource exists and does not have a policy set.
543
- # @param [String] resource
544
- # REQUIRED: The resource for which the policy is being requested. See the
545
- # operation documentation for the appropriate value for this field.
546
- # @param [Google::Apis::DataprocV1::GetIamPolicyRequest] get_iam_policy_request_object
547
- # @param [String] fields
548
- # Selector specifying which fields to include in a partial response.
549
- # @param [String] quota_user
550
- # Available to use for quota purposes for server-side applications. Can be any
551
- # arbitrary string assigned to a user, but should not exceed 40 characters.
552
- # @param [Google::Apis::RequestOptions] options
553
- # Request-specific options
554
- #
555
- # @yield [result, err] Result & error if block supplied
556
- # @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
557
- # @yieldparam err [StandardError] error object if request failed
558
- #
559
- # @return [Google::Apis::DataprocV1::Policy]
560
- #
561
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
562
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
563
- # @raise [Google::Apis::AuthorizationError] Authorization is required
564
- def get_project_region_autoscaling_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
565
- command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
566
- command.request_representation = Google::Apis::DataprocV1::GetIamPolicyRequest::Representation
567
- command.request_object = get_iam_policy_request_object
568
- command.response_representation = Google::Apis::DataprocV1::Policy::Representation
569
- command.response_class = Google::Apis::DataprocV1::Policy
570
- command.params['resource'] = resource unless resource.nil?
571
- command.query['fields'] = fields unless fields.nil?
572
- command.query['quotaUser'] = quota_user unless quota_user.nil?
573
- execute_or_queue_command(command, &block)
574
- end
575
-
576
- # Sets the access control policy on the specified resource. Replaces any
577
- # existing policy.
578
- # @param [String] resource
579
- # REQUIRED: The resource for which the policy is being specified. See the
580
- # operation documentation for the appropriate value for this field.
581
- # @param [Google::Apis::DataprocV1::SetIamPolicyRequest] set_iam_policy_request_object
582
- # @param [String] fields
583
- # Selector specifying which fields to include in a partial response.
584
- # @param [String] quota_user
585
- # Available to use for quota purposes for server-side applications. Can be any
586
- # arbitrary string assigned to a user, but should not exceed 40 characters.
587
- # @param [Google::Apis::RequestOptions] options
588
- # Request-specific options
589
- #
590
- # @yield [result, err] Result & error if block supplied
591
- # @yieldparam result [Google::Apis::DataprocV1::Policy] parsed result object
592
- # @yieldparam err [StandardError] error object if request failed
593
- #
594
- # @return [Google::Apis::DataprocV1::Policy]
595
- #
596
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
597
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
598
- # @raise [Google::Apis::AuthorizationError] Authorization is required
599
- def set_project_region_autoscaling_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
600
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
601
- command.request_representation = Google::Apis::DataprocV1::SetIamPolicyRequest::Representation
602
- command.request_object = set_iam_policy_request_object
603
- command.response_representation = Google::Apis::DataprocV1::Policy::Representation
604
- command.response_class = Google::Apis::DataprocV1::Policy
605
- command.params['resource'] = resource unless resource.nil?
606
- command.query['fields'] = fields unless fields.nil?
607
- command.query['quotaUser'] = quota_user unless quota_user.nil?
608
- execute_or_queue_command(command, &block)
609
- end
610
-
611
- # Returns permissions that a caller has on the specified resource. If the
612
- # resource does not exist, this will return an empty set of permissions, not a
613
- # NOT_FOUND error.Note: This operation is designed to be used for building
614
- # permission-aware UIs and command-line tools, not for authorization checking.
615
- # This operation may "fail open" without warning.
616
- # @param [String] resource
617
- # REQUIRED: The resource for which the policy detail is being requested. See the
618
- # operation documentation for the appropriate value for this field.
619
- # @param [Google::Apis::DataprocV1::TestIamPermissionsRequest] test_iam_permissions_request_object
620
- # @param [String] fields
621
- # Selector specifying which fields to include in a partial response.
622
- # @param [String] quota_user
623
- # Available to use for quota purposes for server-side applications. Can be any
624
- # arbitrary string assigned to a user, but should not exceed 40 characters.
625
- # @param [Google::Apis::RequestOptions] options
626
- # Request-specific options
627
- #
628
- # @yield [result, err] Result & error if block supplied
629
- # @yieldparam result [Google::Apis::DataprocV1::TestIamPermissionsResponse] parsed result object
630
- # @yieldparam err [StandardError] error object if request failed
631
- #
632
- # @return [Google::Apis::DataprocV1::TestIamPermissionsResponse]
633
- #
634
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
635
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
636
- # @raise [Google::Apis::AuthorizationError] Authorization is required
637
- def test_project_region_autoscaling_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
638
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
639
- command.request_representation = Google::Apis::DataprocV1::TestIamPermissionsRequest::Representation
640
- command.request_object = test_iam_permissions_request_object
641
- command.response_representation = Google::Apis::DataprocV1::TestIamPermissionsResponse::Representation
642
- command.response_class = Google::Apis::DataprocV1::TestIamPermissionsResponse
643
- command.params['resource'] = resource unless resource.nil?
644
- command.query['fields'] = fields unless fields.nil?
645
- command.query['quotaUser'] = quota_user unless quota_user.nil?
646
- execute_or_queue_command(command, &block)
647
- end
648
-
649
433
  # Creates a cluster in a project.
650
434
  # @param [String] project_id
651
435
  # Required. The ID of the Google Cloud Platform project that the cluster belongs