google-api-client 0.30.5 → 0.30.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +11 -7
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +19 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +7 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +28 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +15 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +19 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +7 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -10
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +261 -145
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +261 -145
- data/generated/google/apis/compute_beta/service.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +242 -125
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +28 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +0 -6
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1/service.rb +0 -216
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +27 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -7
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2/service.rb +47 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +146 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +75 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +47 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +29 -0
- data/generated/google/apis/fcm_v1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +12 -10
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +19 -10
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +12 -12
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +0 -97
- data/generated/google/apis/iamcredentials_v1/representations.rb +0 -28
- data/generated/google/apis/iamcredentials_v1/service.rb +0 -36
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +11 -11
- data/generated/google/apis/ml_v1/service.rb +14 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +21 -3
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +14 -2
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +24 -19
- data/generated/google/apis/run_v1alpha1/representations.rb +4 -3
- data/generated/google/apis/run_v1alpha1/service.rb +7 -1
- data/generated/google/apis/run_v1beta1.rb +35 -0
- data/generated/google/apis/run_v1beta1/classes.rb +98 -0
- data/generated/google/apis/run_v1beta1/representations.rb +58 -0
- data/generated/google/apis/run_v1beta1/service.rb +99 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +7 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +19 -10
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +2 -2
- data/generated/google/apis/servicebroker_v1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +7 -10
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +7 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +13 -20
- data/generated/google/apis/servicebroker_v1beta1/service.rb +7 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +10 -2
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +18 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +9 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -104
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1/representations.rb +1711 -843
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1782 -914
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1995 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1832 -964
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190701'
|
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'
|
@@ -198,6 +198,11 @@ module Google
|
|
198
198
|
# @param [String] resource
|
199
199
|
# REQUIRED: The resource for which the policy is being requested.
|
200
200
|
# See the operation documentation for the appropriate value for this field.
|
201
|
+
# @param [Fixnum] options_requested_policy_version
|
202
|
+
# Optional. The policy format version to be returned.
|
203
|
+
# Acceptable values are 0 and 1.
|
204
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
205
|
+
# returned.
|
201
206
|
# @param [String] fields
|
202
207
|
# Selector specifying which fields to include in a partial response.
|
203
208
|
# @param [String] quota_user
|
@@ -215,11 +220,12 @@ module Google
|
|
215
220
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
216
221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
217
222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
218
|
-
def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
223
|
+
def get_project_subscription_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
219
224
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
220
225
|
command.response_representation = Google::Apis::PubsubV1beta2::Policy::Representation
|
221
226
|
command.response_class = Google::Apis::PubsubV1beta2::Policy
|
222
227
|
command.params['resource'] = resource unless resource.nil?
|
228
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
223
229
|
command.query['fields'] = fields unless fields.nil?
|
224
230
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
225
231
|
execute_or_queue_command(command, &block)
|
@@ -555,6 +561,11 @@ module Google
|
|
555
561
|
# @param [String] resource
|
556
562
|
# REQUIRED: The resource for which the policy is being requested.
|
557
563
|
# See the operation documentation for the appropriate value for this field.
|
564
|
+
# @param [Fixnum] options_requested_policy_version
|
565
|
+
# Optional. The policy format version to be returned.
|
566
|
+
# Acceptable values are 0 and 1.
|
567
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
568
|
+
# returned.
|
558
569
|
# @param [String] fields
|
559
570
|
# Selector specifying which fields to include in a partial response.
|
560
571
|
# @param [String] quota_user
|
@@ -572,11 +583,12 @@ module Google
|
|
572
583
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
573
584
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
574
585
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
575
|
-
def get_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
586
|
+
def get_project_topic_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
576
587
|
command = make_simple_command(:get, 'v1beta2/{+resource}:getIamPolicy', options)
|
577
588
|
command.response_representation = Google::Apis::PubsubV1beta2::Policy::Representation
|
578
589
|
command.response_class = Google::Apis::PubsubV1beta2::Policy
|
579
590
|
command.params['resource'] = resource unless resource.nil?
|
591
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
580
592
|
command.query['fields'] = fields unless fields.nil?
|
581
593
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
582
594
|
execute_or_queue_command(command, &block)
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/run/
|
27
27
|
module RunV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190703'
|
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'
|
@@ -147,6 +147,14 @@ module Google
|
|
147
147
|
# @return [Array<String>]
|
148
148
|
attr_accessor :exempted_members
|
149
149
|
|
150
|
+
# Specifies whether principals can be exempted for the same LogType in
|
151
|
+
# lower-level resource policies. If true, any lower-level exemptions will
|
152
|
+
# be ignored.
|
153
|
+
# Corresponds to the JSON property `ignoreChildExemptions`
|
154
|
+
# @return [Boolean]
|
155
|
+
attr_accessor :ignore_child_exemptions
|
156
|
+
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
157
|
+
|
150
158
|
# The log type that this config enables.
|
151
159
|
# Corresponds to the JSON property `logType`
|
152
160
|
# @return [String]
|
@@ -159,6 +167,7 @@ module Google
|
|
159
167
|
# Update properties of this object
|
160
168
|
def update!(**args)
|
161
169
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
170
|
+
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
162
171
|
@log_type = args[:log_type] if args.key?(:log_type)
|
163
172
|
end
|
164
173
|
end
|
@@ -356,7 +365,7 @@ module Google
|
|
356
365
|
class Configuration
|
357
366
|
include Google::Apis::Core::Hashable
|
358
367
|
|
359
|
-
# The API version for this call such as "v1alpha1".
|
368
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
360
369
|
# Corresponds to the JSON property `apiVersion`
|
361
370
|
# @return [String]
|
362
371
|
attr_accessor :api_version
|
@@ -831,7 +840,7 @@ module Google
|
|
831
840
|
class DomainMapping
|
832
841
|
include Google::Apis::Core::Hashable
|
833
842
|
|
834
|
-
# The API version for this call such as "v1alpha1".
|
843
|
+
# The API version for this call such as "domains.cloudrun.com/v1alpha1".
|
835
844
|
# Corresponds to the JSON property `apiVersion`
|
836
845
|
# @return [String]
|
837
846
|
attr_accessor :api_version
|
@@ -1098,7 +1107,7 @@ module Google
|
|
1098
1107
|
class EventType
|
1099
1108
|
include Google::Apis::Core::Hashable
|
1100
1109
|
|
1101
|
-
# The API version for this call such as "v1alpha1".
|
1110
|
+
# The API version for this call such as "eventing.knative.dev/v1alpha1".
|
1102
1111
|
# Corresponds to the JSON property `apiVersion`
|
1103
1112
|
# @return [String]
|
1104
1113
|
attr_accessor :api_version
|
@@ -1531,7 +1540,7 @@ module Google
|
|
1531
1540
|
class ListConfigurationsResponse
|
1532
1541
|
include Google::Apis::Core::Hashable
|
1533
1542
|
|
1534
|
-
# The API version for this call such as "v1alpha1".
|
1543
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
1535
1544
|
# Corresponds to the JSON property `apiVersion`
|
1536
1545
|
# @return [String]
|
1537
1546
|
attr_accessor :api_version
|
@@ -1576,7 +1585,7 @@ module Google
|
|
1576
1585
|
class ListDomainMappingsResponse
|
1577
1586
|
include Google::Apis::Core::Hashable
|
1578
1587
|
|
1579
|
-
# The API version for this call such as "v1alpha1".
|
1588
|
+
# The API version for this call such as "domains.cloudrun.com/v1alpha1".
|
1580
1589
|
# Corresponds to the JSON property `apiVersion`
|
1581
1590
|
# @return [String]
|
1582
1591
|
attr_accessor :api_version
|
@@ -1615,7 +1624,7 @@ module Google
|
|
1615
1624
|
class ListEventTypesResponse
|
1616
1625
|
include Google::Apis::Core::Hashable
|
1617
1626
|
|
1618
|
-
# The API version for this call such as "v1alpha1".
|
1627
|
+
# The API version for this call such as "eventing.knative.dev/v1alpha1".
|
1619
1628
|
# Corresponds to the JSON property `apiVersion`
|
1620
1629
|
# @return [String]
|
1621
1630
|
attr_accessor :api_version
|
@@ -1736,7 +1745,7 @@ module Google
|
|
1736
1745
|
class ListRevisionsResponse
|
1737
1746
|
include Google::Apis::Core::Hashable
|
1738
1747
|
|
1739
|
-
# The API version for this call such as "v1alpha1".
|
1748
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
1740
1749
|
# Corresponds to the JSON property `apiVersion`
|
1741
1750
|
# @return [String]
|
1742
1751
|
attr_accessor :api_version
|
@@ -1781,7 +1790,7 @@ module Google
|
|
1781
1790
|
class ListRoutesResponse
|
1782
1791
|
include Google::Apis::Core::Hashable
|
1783
1792
|
|
1784
|
-
# The API version for this call such as "v1alpha1".
|
1793
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
1785
1794
|
# Corresponds to the JSON property `apiVersion`
|
1786
1795
|
# @return [String]
|
1787
1796
|
attr_accessor :api_version
|
@@ -1826,7 +1835,7 @@ module Google
|
|
1826
1835
|
class ListServicesResponse
|
1827
1836
|
include Google::Apis::Core::Hashable
|
1828
1837
|
|
1829
|
-
# The API version for this call such as "v1alpha1".
|
1838
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
1830
1839
|
# Corresponds to the JSON property `apiVersion`
|
1831
1840
|
# @return [String]
|
1832
1841
|
attr_accessor :api_version
|
@@ -1871,7 +1880,7 @@ module Google
|
|
1871
1880
|
class ListTriggersResponse
|
1872
1881
|
include Google::Apis::Core::Hashable
|
1873
1882
|
|
1874
|
-
# The API version for this call such as "v1alpha1".
|
1883
|
+
# The API version for this call such as "eventing.knative.dev/v1alpha1".
|
1875
1884
|
# Corresponds to the JSON property `apiVersion`
|
1876
1885
|
# @return [String]
|
1877
1886
|
attr_accessor :api_version
|
@@ -2603,7 +2612,7 @@ module Google
|
|
2603
2612
|
class Revision
|
2604
2613
|
include Google::Apis::Core::Hashable
|
2605
2614
|
|
2606
|
-
# The API version for this call such as "v1alpha1".
|
2615
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
2607
2616
|
# Corresponds to the JSON property `apiVersion`
|
2608
2617
|
# @return [String]
|
2609
2618
|
attr_accessor :api_version
|
@@ -2899,7 +2908,7 @@ module Google
|
|
2899
2908
|
class Route
|
2900
2909
|
include Google::Apis::Core::Hashable
|
2901
2910
|
|
2902
|
-
# The API version for this call such as "v1alpha1".
|
2911
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
2903
2912
|
# Corresponds to the JSON property `apiVersion`
|
2904
2913
|
# @return [String]
|
2905
2914
|
attr_accessor :api_version
|
@@ -3326,7 +3335,7 @@ module Google
|
|
3326
3335
|
class Service
|
3327
3336
|
include Google::Apis::Core::Hashable
|
3328
3337
|
|
3329
|
-
# The API version for this call such as "v1alpha1".
|
3338
|
+
# The API version for this call such as "serving.knative.dev/v1alpha1".
|
3330
3339
|
# Corresponds to the JSON property `apiVersion`
|
3331
3340
|
# @return [String]
|
3332
3341
|
attr_accessor :api_version
|
@@ -3473,10 +3482,7 @@ module Google
|
|
3473
3482
|
attr_accessor :template
|
3474
3483
|
|
3475
3484
|
# Traffic specifies how to distribute traffic over a collection of Knative
|
3476
|
-
# Revisions and Configurations.
|
3477
|
-
# (ServiceSpecRunLatest, ServiceSpecPinnedType, ServiceSpecReleaseType, and
|
3478
|
-
# ServiceSpecManualType).
|
3479
|
-
# Not currently supported by Cloud Run.
|
3485
|
+
# Revisions and Configurations.
|
3480
3486
|
# Corresponds to the JSON property `traffic`
|
3481
3487
|
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
3482
3488
|
attr_accessor :traffic
|
@@ -3868,7 +3874,6 @@ module Google
|
|
3868
3874
|
# ready Revision of the Configuration should be used for this traffic
|
3869
3875
|
# target. When provided LatestRevision must be true if RevisionName is
|
3870
3876
|
# empty; it must be false when RevisionName is non-empty.
|
3871
|
-
# Not currently supported in Cloud Run.
|
3872
3877
|
# +optional
|
3873
3878
|
# Corresponds to the JSON property `latestRevision`
|
3874
3879
|
# @return [Boolean]
|
@@ -3935,7 +3940,7 @@ module Google
|
|
3935
3940
|
class Trigger
|
3936
3941
|
include Google::Apis::Core::Hashable
|
3937
3942
|
|
3938
|
-
# The API version for this call such as "v1alpha1".
|
3943
|
+
# The API version for this call such as "eventing.knative.dev/v1alpha1".
|
3939
3944
|
# Corresponds to the JSON property `apiVersion`
|
3940
3945
|
# @return [String]
|
3941
3946
|
attr_accessor :api_version
|
@@ -577,6 +577,7 @@ module Google
|
|
577
577
|
# @private
|
578
578
|
class Representation < Google::Apis::Core::JsonRepresentation
|
579
579
|
collection :exempted_members, as: 'exemptedMembers'
|
580
|
+
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
580
581
|
property :log_type, as: 'logType'
|
581
582
|
end
|
582
583
|
end
|
@@ -888,7 +889,7 @@ module Google
|
|
888
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
889
890
|
property :int_val, as: 'intVal'
|
890
891
|
property :str_val, as: 'strVal'
|
891
|
-
property :type,
|
892
|
+
property :type, as: 'type'
|
892
893
|
end
|
893
894
|
end
|
894
895
|
|
@@ -1303,9 +1304,9 @@ module Google
|
|
1303
1304
|
|
1304
1305
|
property :privileged, as: 'privileged'
|
1305
1306
|
property :read_only_root_filesystem, as: 'readOnlyRootFilesystem'
|
1306
|
-
property :run_as_group,
|
1307
|
+
property :run_as_group, as: 'runAsGroup'
|
1307
1308
|
property :run_as_non_root, as: 'runAsNonRoot'
|
1308
|
-
property :run_as_user,
|
1309
|
+
property :run_as_user, as: 'runAsUser'
|
1309
1310
|
property :se_linux_options, as: 'seLinuxOptions', class: Google::Apis::RunV1alpha1::SeLinuxOptions, decorator: Google::Apis::RunV1alpha1::SeLinuxOptions::Representation
|
1310
1311
|
|
1311
1312
|
end
|
@@ -1839,6 +1839,11 @@ module Google
|
|
1839
1839
|
# @param [String] resource
|
1840
1840
|
# REQUIRED: The resource for which the policy is being requested.
|
1841
1841
|
# See the operation documentation for the appropriate value for this field.
|
1842
|
+
# @param [Fixnum] options_requested_policy_version
|
1843
|
+
# Optional. The policy format version to be returned.
|
1844
|
+
# Acceptable values are 0 and 1.
|
1845
|
+
# If the value is 0, or the field is omitted, policy format version 1 will be
|
1846
|
+
# returned.
|
1842
1847
|
# @param [String] fields
|
1843
1848
|
# Selector specifying which fields to include in a partial response.
|
1844
1849
|
# @param [String] quota_user
|
@@ -1856,11 +1861,12 @@ module Google
|
|
1856
1861
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1857
1862
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1858
1863
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1859
|
-
def get_project_location_service_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
1864
|
+
def get_project_location_service_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1860
1865
|
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
1861
1866
|
command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
|
1862
1867
|
command.response_class = Google::Apis::RunV1alpha1::Policy
|
1863
1868
|
command.params['resource'] = resource unless resource.nil?
|
1869
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1864
1870
|
command.query['fields'] = fields unless fields.nil?
|
1865
1871
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1866
1872
|
execute_or_queue_command(command, &block)
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/run_v1beta1/service.rb'
|
16
|
+
require 'google/apis/run_v1beta1/classes.rb'
|
17
|
+
require 'google/apis/run_v1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Cloud Run API
|
22
|
+
#
|
23
|
+
# Deploy and manage user provided container images that scale automatically
|
24
|
+
# based on HTTP traffic.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/run/
|
27
|
+
module RunV1beta1
|
28
|
+
VERSION = 'V1beta1'
|
29
|
+
REVISION = '20190701'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module RunV1beta1
|
24
|
+
|
25
|
+
# The response message for Locations.ListLocations.
|
26
|
+
class ListLocationsResponse
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# A list of locations that matches the specified filter in the request.
|
30
|
+
# Corresponds to the JSON property `locations`
|
31
|
+
# @return [Array<Google::Apis::RunV1beta1::Location>]
|
32
|
+
attr_accessor :locations
|
33
|
+
|
34
|
+
# The standard List next-page token.
|
35
|
+
# Corresponds to the JSON property `nextPageToken`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :next_page_token
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@locations = args[:locations] if args.key?(:locations)
|
46
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# A resource that represents Google Cloud Platform location.
|
51
|
+
class Location
|
52
|
+
include Google::Apis::Core::Hashable
|
53
|
+
|
54
|
+
# The friendly name for this location, typically a nearby city name.
|
55
|
+
# For example, "Tokyo".
|
56
|
+
# Corresponds to the JSON property `displayName`
|
57
|
+
# @return [String]
|
58
|
+
attr_accessor :display_name
|
59
|
+
|
60
|
+
# Cross-service attributes for the location. For example
|
61
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
62
|
+
# Corresponds to the JSON property `labels`
|
63
|
+
# @return [Hash<String,String>]
|
64
|
+
attr_accessor :labels
|
65
|
+
|
66
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
67
|
+
# Corresponds to the JSON property `locationId`
|
68
|
+
# @return [String]
|
69
|
+
attr_accessor :location_id
|
70
|
+
|
71
|
+
# Service-specific metadata. For example the available capacity at the given
|
72
|
+
# location.
|
73
|
+
# Corresponds to the JSON property `metadata`
|
74
|
+
# @return [Hash<String,Object>]
|
75
|
+
attr_accessor :metadata
|
76
|
+
|
77
|
+
# Resource name for the location, which may vary between implementations.
|
78
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
79
|
+
# Corresponds to the JSON property `name`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :name
|
82
|
+
|
83
|
+
def initialize(**args)
|
84
|
+
update!(**args)
|
85
|
+
end
|
86
|
+
|
87
|
+
# Update properties of this object
|
88
|
+
def update!(**args)
|
89
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
90
|
+
@labels = args[:labels] if args.key?(:labels)
|
91
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
92
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
93
|
+
@name = args[:name] if args.key?(:name)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module RunV1beta1
|
24
|
+
|
25
|
+
class ListLocationsResponse
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Location
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ListLocationsResponse
|
38
|
+
# @private
|
39
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
40
|
+
collection :locations, as: 'locations', class: Google::Apis::RunV1beta1::Location, decorator: Google::Apis::RunV1beta1::Location::Representation
|
41
|
+
|
42
|
+
property :next_page_token, as: 'nextPageToken'
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
class Location
|
47
|
+
# @private
|
48
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
49
|
+
property :display_name, as: 'displayName'
|
50
|
+
hash :labels, as: 'labels'
|
51
|
+
property :location_id, as: 'locationId'
|
52
|
+
hash :metadata, as: 'metadata'
|
53
|
+
property :name, as: 'name'
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|