google-api-client 0.19.7 → 0.19.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +54 -8
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +8 -7
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +18 -16
- data/generated/google/apis/appengine_v1/service.rb +5 -5
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +25 -16
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta/service.rb +5 -5
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +42 -5
- data/generated/google/apis/bigquery_v2/representations.rb +18 -2
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +128 -59
- data/generated/google/apis/cloudiot_v1/representations.rb +31 -18
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +40 -14
- data/generated/google/apis/compute_alpha/representations.rb +5 -1
- data/generated/google/apis/compute_alpha/service.rb +131 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +67 -10
- data/generated/google/apis/compute_beta/representations.rb +17 -0
- data/generated/google/apis/compute_beta/service.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +6 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +44 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +3 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +4 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +102 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +49 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +4 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -10
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +583 -0
- data/generated/google/apis/dlp_v2beta2/representations.rb +258 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +181 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +5 -3
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +13 -13
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -142
- data/generated/google/apis/ml_v1/representations.rb +0 -26
- data/generated/google/apis/ml_v1/service.rb +3 -63
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +18 -17
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -1
- data/generated/google/apis/serviceusage_v1.rb +42 -0
- data/generated/google/apis/serviceusage_v1/classes.rb +3862 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1186 -0
- data/generated/google/apis/serviceusage_v1/service.rb +406 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +13 -0
- data/generated/google/apis/slides_v1/representations.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180123'
|
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'
|
@@ -3457,7 +3457,8 @@ module Google
|
|
3457
3457
|
attr_accessor :status
|
3458
3458
|
|
3459
3459
|
# URL of the disk type resource describing which disk type to use to create the
|
3460
|
-
# disk. Provide this when creating the disk.
|
3460
|
+
# disk. Provide this when creating the disk. For example: project/zones/zone/
|
3461
|
+
# diskTypes/pd-standard or pd-ssd
|
3461
3462
|
# Corresponds to the JSON property `type`
|
3462
3463
|
# @return [String]
|
3463
3464
|
attr_accessor :type
|
@@ -4757,10 +4758,10 @@ module Google
|
|
4757
4758
|
# Some types of forwarding target have constraints on the acceptable ports:
|
4758
4759
|
# - TargetHttpProxy: 80, 8080
|
4759
4760
|
# - TargetHttpsProxy: 443
|
4760
|
-
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
4761
|
-
# 5222
|
4762
|
-
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
4763
|
-
# 5222
|
4761
|
+
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
4762
|
+
# 1883, 5222
|
4763
|
+
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
4764
|
+
# 1883, 5222
|
4764
4765
|
# - TargetVpnGateway: 500, 4500
|
4765
4766
|
# Corresponds to the JSON property `portRange`
|
4766
4767
|
# @return [String]
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180201'
|
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'
|
@@ -310,6 +310,17 @@ module Google
|
|
310
310
|
# @return [Google::Apis::ContainerV1beta1::IpAllocationPolicy]
|
311
311
|
attr_accessor :ip_allocation_policy
|
312
312
|
|
313
|
+
# The fingerprint of the set of labels for this cluster.
|
314
|
+
# Corresponds to the JSON property `labelFingerprint`
|
315
|
+
# @return [String]
|
316
|
+
attr_accessor :label_fingerprint
|
317
|
+
|
318
|
+
# Configuration for the legacy Attribute Based Access Control authorization
|
319
|
+
# mode.
|
320
|
+
# Corresponds to the JSON property `legacyAbac`
|
321
|
+
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
322
|
+
attr_accessor :legacy_abac
|
323
|
+
|
313
324
|
# [Output only] The name of the Google Compute Engine
|
314
325
|
# [zone](/compute/docs/regions-zones/regions-zones#available) or
|
315
326
|
# [region](/compute/docs/regions-zones/regions-zones#available) in which
|
@@ -410,6 +421,12 @@ module Google
|
|
410
421
|
# @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig]
|
411
422
|
attr_accessor :pod_security_policy_config
|
412
423
|
|
424
|
+
# The resource labels for the cluster to use to annotate any related GCE
|
425
|
+
# resources.
|
426
|
+
# Corresponds to the JSON property `resourceLabels`
|
427
|
+
# @return [Hash<String,String>]
|
428
|
+
attr_accessor :resource_labels
|
429
|
+
|
413
430
|
# [Output only] Server-defined URL for the resource.
|
414
431
|
# Corresponds to the JSON property `selfLink`
|
415
432
|
# @return [String]
|
@@ -470,6 +487,8 @@ module Google
|
|
470
487
|
@initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
|
471
488
|
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
|
472
489
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
490
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
491
|
+
@legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac)
|
473
492
|
@location = args[:location] if args.key?(:location)
|
474
493
|
@locations = args[:locations] if args.key?(:locations)
|
475
494
|
@logging_service = args[:logging_service] if args.key?(:logging_service)
|
@@ -484,6 +503,7 @@ module Google
|
|
484
503
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
485
504
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
486
505
|
@pod_security_policy_config = args[:pod_security_policy_config] if args.key?(:pod_security_policy_config)
|
506
|
+
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
487
507
|
@self_link = args[:self_link] if args.key?(:self_link)
|
488
508
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
489
509
|
@status = args[:status] if args.key?(:status)
|
@@ -985,6 +1005,30 @@ module Google
|
|
985
1005
|
end
|
986
1006
|
end
|
987
1007
|
|
1008
|
+
# Configuration for the legacy Attribute Based Access Control authorization
|
1009
|
+
# mode.
|
1010
|
+
class LegacyAbac
|
1011
|
+
include Google::Apis::Core::Hashable
|
1012
|
+
|
1013
|
+
# Whether the ABAC authorizer is enabled for this cluster. When enabled,
|
1014
|
+
# identities in the system, including service accounts, nodes, and
|
1015
|
+
# controllers, will have statically granted permissions beyond those
|
1016
|
+
# provided by the RBAC configuration or IAM.
|
1017
|
+
# Corresponds to the JSON property `enabled`
|
1018
|
+
# @return [Boolean]
|
1019
|
+
attr_accessor :enabled
|
1020
|
+
alias_method :enabled?, :enabled
|
1021
|
+
|
1022
|
+
def initialize(**args)
|
1023
|
+
update!(**args)
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
# Update properties of this object
|
1027
|
+
def update!(**args)
|
1028
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1029
|
+
end
|
1030
|
+
end
|
1031
|
+
|
988
1032
|
# ListClustersResponse is the result of ListClustersRequest.
|
989
1033
|
class ListClustersResponse
|
990
1034
|
include Google::Apis::Core::Hashable
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class LegacyAbac
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class ListClustersResponse
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -408,6 +414,9 @@ module Google
|
|
408
414
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
409
415
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ContainerV1beta1::IpAllocationPolicy, decorator: Google::Apis::ContainerV1beta1::IpAllocationPolicy::Representation
|
410
416
|
|
417
|
+
property :label_fingerprint, as: 'labelFingerprint'
|
418
|
+
property :legacy_abac, as: 'legacyAbac', class: Google::Apis::ContainerV1beta1::LegacyAbac, decorator: Google::Apis::ContainerV1beta1::LegacyAbac::Representation
|
419
|
+
|
411
420
|
property :location, as: 'location'
|
412
421
|
collection :locations, as: 'locations'
|
413
422
|
property :logging_service, as: 'loggingService'
|
@@ -429,6 +438,7 @@ module Google
|
|
429
438
|
|
430
439
|
property :pod_security_policy_config, as: 'podSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
|
431
440
|
|
441
|
+
hash :resource_labels, as: 'resourceLabels'
|
432
442
|
property :self_link, as: 'selfLink'
|
433
443
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
434
444
|
property :status, as: 'status'
|
@@ -544,6 +554,13 @@ module Google
|
|
544
554
|
end
|
545
555
|
end
|
546
556
|
|
557
|
+
class LegacyAbac
|
558
|
+
# @private
|
559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
560
|
+
property :enabled, as: 'enabled'
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
547
564
|
class ListClustersResponse
|
548
565
|
# @private
|
549
566
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1043,7 +1043,7 @@ module Google
|
|
1043
1043
|
execute_or_queue_command(command, &block)
|
1044
1044
|
end
|
1045
1045
|
|
1046
|
-
# Updates the version and/or
|
1046
|
+
# Updates the version and/or image type of a specific node pool.
|
1047
1047
|
# @param [String] name
|
1048
1048
|
# The name (project, location, cluster, node pool) of the node pool to update.
|
1049
1049
|
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
|
@@ -2402,7 +2402,7 @@ module Google
|
|
2402
2402
|
execute_or_queue_command(command, &block)
|
2403
2403
|
end
|
2404
2404
|
|
2405
|
-
# Updates the version and/or
|
2405
|
+
# Updates the version and/or image type of a specific node pool.
|
2406
2406
|
# @param [String] project_id
|
2407
2407
|
# The Google Developers Console [project ID or project
|
2408
2408
|
# number](https://support.google.com/cloud/answer/6158840).
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180213'
|
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'
|
@@ -605,7 +605,9 @@ module Google
|
|
605
605
|
# <strong>Note:</strong> currently only some fields can be updated: |Mask|
|
606
606
|
# Purpose| |labels|Updates labels| |config.worker_config.num_instances|Resize
|
607
607
|
# primary worker group| |config.secondary_worker_config.num_instances|Resize
|
608
|
-
# secondary worker group|
|
608
|
+
# secondary worker group| |config.lifecycle_config.auto_delete_ttl|Reset MAX TTL
|
609
|
+
# duration| |config.lifecycle_config.auto_delete_time|Update MAX TTL deletion
|
610
|
+
# timestamp| |config.lifecycle_config.idle_delete_ttl|Update Idle TTL duration|
|
609
611
|
# @param [String] fields
|
610
612
|
# Selector specifying which fields to include in a partial response.
|
611
613
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/deployment-manager/
|
27
27
|
module DeploymentmanagerAlpha
|
28
28
|
VERSION = 'Alpha'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180214'
|
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'
|
@@ -490,6 +490,8 @@ module Google
|
|
490
490
|
# @param [String] project
|
491
491
|
# The project ID for this request.
|
492
492
|
# @param [Google::Apis::DeploymentmanagerAlpha::Deployment] deployment_object
|
493
|
+
# @param [String] create_policy
|
494
|
+
#
|
493
495
|
# @param [Boolean] preview
|
494
496
|
# If set to true, creates a deployment and creates "shell" resources but does
|
495
497
|
# not actually instantiate these resources. This allows you to preview what your
|
@@ -519,13 +521,14 @@ module Google
|
|
519
521
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
520
522
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
521
523
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
522
|
-
def insert_deployment(project, deployment_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
524
|
+
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
523
525
|
command = make_simple_command(:post, '{project}/global/deployments', options)
|
524
526
|
command.request_representation = Google::Apis::DeploymentmanagerAlpha::Deployment::Representation
|
525
527
|
command.request_object = deployment_object
|
526
528
|
command.response_representation = Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
527
529
|
command.response_class = Google::Apis::DeploymentmanagerAlpha::Operation
|
528
530
|
command.params['project'] = project unless project.nil?
|
531
|
+
command.query['createPolicy'] = create_policy unless create_policy.nil?
|
529
532
|
command.query['preview'] = preview unless preview.nil?
|
530
533
|
command.query['fields'] = fields unless fields.nil?
|
531
534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/deployment-manager/
|
27
27
|
module DeploymentmanagerV2beta
|
28
28
|
VERSION = 'V2beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180214'
|
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'
|
@@ -22,6 +22,31 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DeploymentmanagerV2beta
|
24
24
|
|
25
|
+
# Async options that determine when a resource should finish.
|
26
|
+
class AsyncOptions
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Method regex where this policy will apply.
|
30
|
+
# Corresponds to the JSON property `methodMatch`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :method_match
|
33
|
+
|
34
|
+
#
|
35
|
+
# Corresponds to the JSON property `pollingOptions`
|
36
|
+
# @return [Google::Apis::DeploymentmanagerV2beta::PollingOptions]
|
37
|
+
attr_accessor :polling_options
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@method_match = args[:method_match] if args.key?(:method_match)
|
46
|
+
@polling_options = args[:polling_options] if args.key?(:polling_options)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
25
50
|
# Specifies the audit configuration for a service. The configuration determines
|
26
51
|
# which permission types are logged, and what identities, if any, are exempted
|
27
52
|
# from logging. An AuditConfig must have one or more AuditLogConfigs.
|
@@ -758,6 +783,32 @@ module Google
|
|
758
783
|
end
|
759
784
|
end
|
760
785
|
|
786
|
+
#
|
787
|
+
class Diagnostic
|
788
|
+
include Google::Apis::Core::Hashable
|
789
|
+
|
790
|
+
# JsonPath expression on the resource that if non empty, indicates that this
|
791
|
+
# field needs to be extracted as a diagnostic.
|
792
|
+
# Corresponds to the JSON property `field`
|
793
|
+
# @return [String]
|
794
|
+
attr_accessor :field
|
795
|
+
|
796
|
+
# Level to record this diagnostic.
|
797
|
+
# Corresponds to the JSON property `level`
|
798
|
+
# @return [String]
|
799
|
+
attr_accessor :level
|
800
|
+
|
801
|
+
def initialize(**args)
|
802
|
+
update!(**args)
|
803
|
+
end
|
804
|
+
|
805
|
+
# Update properties of this object
|
806
|
+
def update!(**args)
|
807
|
+
@field = args[:field] if args.key?(:field)
|
808
|
+
@level = args[:level] if args.key?(:level)
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
761
812
|
# Represents an expression text. Example:
|
762
813
|
# title: "User account presence" description: "Determines whether the request
|
763
814
|
# has a user account" expression: "size(request.user) > 0"
|
@@ -1409,6 +1460,11 @@ module Google
|
|
1409
1460
|
class Options
|
1410
1461
|
include Google::Apis::Core::Hashable
|
1411
1462
|
|
1463
|
+
# Options regarding how to thread async requests.
|
1464
|
+
# Corresponds to the JSON property `asyncOptions`
|
1465
|
+
# @return [Array<Google::Apis::DeploymentmanagerV2beta::AsyncOptions>]
|
1466
|
+
attr_accessor :async_options
|
1467
|
+
|
1412
1468
|
# The mappings that apply for requests.
|
1413
1469
|
# Corresponds to the JSON property `inputMappings`
|
1414
1470
|
# @return [Array<Google::Apis::DeploymentmanagerV2beta::InputMapping>]
|
@@ -1436,6 +1492,7 @@ module Google
|
|
1436
1492
|
|
1437
1493
|
# Update properties of this object
|
1438
1494
|
def update!(**args)
|
1495
|
+
@async_options = args[:async_options] if args.key?(:async_options)
|
1439
1496
|
@input_mappings = args[:input_mappings] if args.key?(:input_mappings)
|
1440
1497
|
@validation_options = args[:validation_options] if args.key?(:validation_options)
|
1441
1498
|
@virtual_properties = args[:virtual_properties] if args.key?(:virtual_properties)
|
@@ -1520,6 +1577,51 @@ module Google
|
|
1520
1577
|
end
|
1521
1578
|
end
|
1522
1579
|
|
1580
|
+
#
|
1581
|
+
class PollingOptions
|
1582
|
+
include Google::Apis::Core::Hashable
|
1583
|
+
|
1584
|
+
# An array of diagnostics to be collected by Deployment Manager, these
|
1585
|
+
# diagnostics will be displayed to the user.
|
1586
|
+
# Corresponds to the JSON property `diagnostics`
|
1587
|
+
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Diagnostic>]
|
1588
|
+
attr_accessor :diagnostics
|
1589
|
+
|
1590
|
+
# JsonPath expression that determines if the request failed.
|
1591
|
+
# Corresponds to the JSON property `failCondition`
|
1592
|
+
# @return [String]
|
1593
|
+
attr_accessor :fail_condition
|
1594
|
+
|
1595
|
+
# JsonPath expression that determines if the request is completed.
|
1596
|
+
# Corresponds to the JSON property `finishCondition`
|
1597
|
+
# @return [String]
|
1598
|
+
attr_accessor :finish_condition
|
1599
|
+
|
1600
|
+
# JsonPath expression that evaluates to string, it indicates where to poll.
|
1601
|
+
# Corresponds to the JSON property `pollingLink`
|
1602
|
+
# @return [String]
|
1603
|
+
attr_accessor :polling_link
|
1604
|
+
|
1605
|
+
# JsonPath expression, after polling is completed, indicates where to fetch the
|
1606
|
+
# resource.
|
1607
|
+
# Corresponds to the JSON property `targetLink`
|
1608
|
+
# @return [String]
|
1609
|
+
attr_accessor :target_link
|
1610
|
+
|
1611
|
+
def initialize(**args)
|
1612
|
+
update!(**args)
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# Update properties of this object
|
1616
|
+
def update!(**args)
|
1617
|
+
@diagnostics = args[:diagnostics] if args.key?(:diagnostics)
|
1618
|
+
@fail_condition = args[:fail_condition] if args.key?(:fail_condition)
|
1619
|
+
@finish_condition = args[:finish_condition] if args.key?(:finish_condition)
|
1620
|
+
@polling_link = args[:polling_link] if args.key?(:polling_link)
|
1621
|
+
@target_link = args[:target_link] if args.key?(:target_link)
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1523
1625
|
#
|
1524
1626
|
class Resource
|
1525
1627
|
include Google::Apis::Core::Hashable
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DeploymentmanagerV2beta
|
24
24
|
|
25
|
+
class AsyncOptions
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class AuditConfig
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -142,6 +148,12 @@ module Google
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
143
149
|
end
|
144
150
|
|
151
|
+
class Diagnostic
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
145
157
|
class Expr
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
159
|
|
@@ -244,6 +256,12 @@ module Google
|
|
244
256
|
include Google::Apis::Core::JsonObjectSupport
|
245
257
|
end
|
246
258
|
|
259
|
+
class PollingOptions
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
247
265
|
class Resource
|
248
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
267
|
|
@@ -400,6 +418,15 @@ module Google
|
|
400
418
|
include Google::Apis::Core::JsonObjectSupport
|
401
419
|
end
|
402
420
|
|
421
|
+
class AsyncOptions
|
422
|
+
# @private
|
423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
+
property :method_match, as: 'methodMatch'
|
425
|
+
property :polling_options, as: 'pollingOptions', class: Google::Apis::DeploymentmanagerV2beta::PollingOptions, decorator: Google::Apis::DeploymentmanagerV2beta::PollingOptions::Representation
|
426
|
+
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
403
430
|
class AuditConfig
|
404
431
|
# @private
|
405
432
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -600,6 +627,14 @@ module Google
|
|
600
627
|
end
|
601
628
|
end
|
602
629
|
|
630
|
+
class Diagnostic
|
631
|
+
# @private
|
632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
633
|
+
property :field, as: 'field'
|
634
|
+
property :level, as: 'level'
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
603
638
|
class Expr
|
604
639
|
# @private
|
605
640
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -767,6 +802,8 @@ module Google
|
|
767
802
|
class Options
|
768
803
|
# @private
|
769
804
|
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
collection :async_options, as: 'asyncOptions', class: Google::Apis::DeploymentmanagerV2beta::AsyncOptions, decorator: Google::Apis::DeploymentmanagerV2beta::AsyncOptions::Representation
|
806
|
+
|
770
807
|
collection :input_mappings, as: 'inputMappings', class: Google::Apis::DeploymentmanagerV2beta::InputMapping, decorator: Google::Apis::DeploymentmanagerV2beta::InputMapping::Representation
|
771
808
|
|
772
809
|
property :validation_options, as: 'validationOptions', class: Google::Apis::DeploymentmanagerV2beta::ValidationOptions, decorator: Google::Apis::DeploymentmanagerV2beta::ValidationOptions::Representation
|
@@ -790,6 +827,18 @@ module Google
|
|
790
827
|
end
|
791
828
|
end
|
792
829
|
|
830
|
+
class PollingOptions
|
831
|
+
# @private
|
832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
833
|
+
collection :diagnostics, as: 'diagnostics', class: Google::Apis::DeploymentmanagerV2beta::Diagnostic, decorator: Google::Apis::DeploymentmanagerV2beta::Diagnostic::Representation
|
834
|
+
|
835
|
+
property :fail_condition, as: 'failCondition'
|
836
|
+
property :finish_condition, as: 'finishCondition'
|
837
|
+
property :polling_link, as: 'pollingLink'
|
838
|
+
property :target_link, as: 'targetLink'
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
793
842
|
class Resource
|
794
843
|
# @private
|
795
844
|
class Representation < Google::Apis::Core::JsonRepresentation
|