google-api-client 0.19.2 → 0.19.3
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/admin_reports_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +94 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +46 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +229 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -13
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +11 -8
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +3 -3
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +61 -57
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/service.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +86 -0
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/container_v1beta1/service.rb +84 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +104 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +5 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +0 -54
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +53 -212
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +3 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/classes.rb +6 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +6 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +0 -2
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -3
- data/generated/google/apis/pubsub_v1/service.rb +31 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/classes.rb +865 -0
- data/generated/google/apis/script_v1/representations.rb +428 -0
- data/generated/google/apis/script_v1/service.rb +586 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -10
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +48 -0
- data/generated/google/apis/sheets_v4/representations.rb +17 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +45 -0
- data/generated/google/apis/slides_v1/representations.rb +17 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/service.rb +1 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -18,7 +18,7 @@ require 'google/apis/container_v1beta1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
# Google
|
21
|
+
# Google Kubernetes Engine API
|
22
22
|
#
|
23
23
|
# The Google Kubernetes Engine API is used for building and managing container
|
24
24
|
# based applications, powered by the open source Kubernetes technology.
|
@@ -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 = '20171227'
|
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'
|
@@ -1356,6 +1356,12 @@ module Google
|
|
1356
1356
|
# @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
|
1357
1357
|
attr_accessor :taints
|
1358
1358
|
|
1359
|
+
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
1360
|
+
# workloads on the node pool.
|
1361
|
+
# Corresponds to the JSON property `workloadMetadataConfig`
|
1362
|
+
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
1363
|
+
attr_accessor :workload_metadata_config
|
1364
|
+
|
1359
1365
|
def initialize(**args)
|
1360
1366
|
update!(**args)
|
1361
1367
|
end
|
@@ -1375,6 +1381,7 @@ module Google
|
|
1375
1381
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1376
1382
|
@tags = args[:tags] if args.key?(:tags)
|
1377
1383
|
@taints = args[:taints] if args.key?(:taints)
|
1384
|
+
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
|
1378
1385
|
end
|
1379
1386
|
end
|
1380
1387
|
|
@@ -2377,6 +2384,64 @@ module Google
|
|
2377
2384
|
end
|
2378
2385
|
end
|
2379
2386
|
|
2387
|
+
# SetNodePoolSizeRequest sets the size a node
|
2388
|
+
# pool.
|
2389
|
+
class SetNodePoolSizeRequest
|
2390
|
+
include Google::Apis::Core::Hashable
|
2391
|
+
|
2392
|
+
# The name of the cluster to update.
|
2393
|
+
# This field is deprecated, use name instead.
|
2394
|
+
# Corresponds to the JSON property `clusterId`
|
2395
|
+
# @return [String]
|
2396
|
+
attr_accessor :cluster_id
|
2397
|
+
|
2398
|
+
# The name (project, location, cluster, node pool id) of the node pool to set
|
2399
|
+
# size.
|
2400
|
+
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
|
2401
|
+
# Corresponds to the JSON property `name`
|
2402
|
+
# @return [String]
|
2403
|
+
attr_accessor :name
|
2404
|
+
|
2405
|
+
# The desired node count for the pool.
|
2406
|
+
# Corresponds to the JSON property `nodeCount`
|
2407
|
+
# @return [Fixnum]
|
2408
|
+
attr_accessor :node_count
|
2409
|
+
|
2410
|
+
# The name of the node pool to update.
|
2411
|
+
# This field is deprecated, use name instead.
|
2412
|
+
# Corresponds to the JSON property `nodePoolId`
|
2413
|
+
# @return [String]
|
2414
|
+
attr_accessor :node_pool_id
|
2415
|
+
|
2416
|
+
# The Google Developers Console [project ID or project
|
2417
|
+
# number](https://support.google.com/cloud/answer/6158840).
|
2418
|
+
# Corresponds to the JSON property `projectId`
|
2419
|
+
# @return [String]
|
2420
|
+
attr_accessor :project_id
|
2421
|
+
|
2422
|
+
# The name of the Google Compute Engine
|
2423
|
+
# [zone](/compute/docs/zones#available) in which the cluster
|
2424
|
+
# resides.
|
2425
|
+
# This field is deprecated, use name instead.
|
2426
|
+
# Corresponds to the JSON property `zone`
|
2427
|
+
# @return [String]
|
2428
|
+
attr_accessor :zone
|
2429
|
+
|
2430
|
+
def initialize(**args)
|
2431
|
+
update!(**args)
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
# Update properties of this object
|
2435
|
+
def update!(**args)
|
2436
|
+
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
2437
|
+
@name = args[:name] if args.key?(:name)
|
2438
|
+
@node_count = args[:node_count] if args.key?(:node_count)
|
2439
|
+
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
2440
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
2441
|
+
@zone = args[:zone] if args.key?(:zone)
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
|
2380
2445
|
# StartIPRotationRequest creates a new IP for the cluster and then performs
|
2381
2446
|
# a node upgrade on each node pool to point to the new IP.
|
2382
2447
|
class StartIpRotationRequest
|
@@ -2589,6 +2654,27 @@ module Google
|
|
2589
2654
|
@zone = args[:zone] if args.key?(:zone)
|
2590
2655
|
end
|
2591
2656
|
end
|
2657
|
+
|
2658
|
+
# WorkloadMetadataConfig defines the metadata configuration to expose to
|
2659
|
+
# workloads on the node pool.
|
2660
|
+
class WorkloadMetadataConfig
|
2661
|
+
include Google::Apis::Core::Hashable
|
2662
|
+
|
2663
|
+
# NodeMetadata is the configuration for if and how to expose the node
|
2664
|
+
# metadata to the workload running on the node.
|
2665
|
+
# Corresponds to the JSON property `nodeMetadata`
|
2666
|
+
# @return [String]
|
2667
|
+
attr_accessor :node_metadata
|
2668
|
+
|
2669
|
+
def initialize(**args)
|
2670
|
+
update!(**args)
|
2671
|
+
end
|
2672
|
+
|
2673
|
+
# Update properties of this object
|
2674
|
+
def update!(**args)
|
2675
|
+
@node_metadata = args[:node_metadata] if args.key?(:node_metadata)
|
2676
|
+
end
|
2677
|
+
end
|
2592
2678
|
end
|
2593
2679
|
end
|
2594
2680
|
end
|
@@ -298,6 +298,12 @@ module Google
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
299
299
|
end
|
300
300
|
|
301
|
+
class SetNodePoolSizeRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
301
307
|
class StartIpRotationRequest
|
302
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
309
|
|
@@ -322,6 +328,12 @@ module Google
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
323
329
|
end
|
324
330
|
|
331
|
+
class WorkloadMetadataConfig
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
325
337
|
class AcceleratorConfig
|
326
338
|
# @private
|
327
339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -629,6 +641,8 @@ module Google
|
|
629
641
|
collection :tags, as: 'tags'
|
630
642
|
collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
|
631
643
|
|
644
|
+
property :workload_metadata_config, as: 'workloadMetadataConfig', class: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig::Representation
|
645
|
+
|
632
646
|
end
|
633
647
|
end
|
634
648
|
|
@@ -856,6 +870,18 @@ module Google
|
|
856
870
|
end
|
857
871
|
end
|
858
872
|
|
873
|
+
class SetNodePoolSizeRequest
|
874
|
+
# @private
|
875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
876
|
+
property :cluster_id, as: 'clusterId'
|
877
|
+
property :name, as: 'name'
|
878
|
+
property :node_count, as: 'nodeCount'
|
879
|
+
property :node_pool_id, as: 'nodePoolId'
|
880
|
+
property :project_id, as: 'projectId'
|
881
|
+
property :zone, as: 'zone'
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
859
885
|
class StartIpRotationRequest
|
860
886
|
# @private
|
861
887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -901,6 +927,13 @@ module Google
|
|
901
927
|
property :zone, as: 'zone'
|
902
928
|
end
|
903
929
|
end
|
930
|
+
|
931
|
+
class WorkloadMetadataConfig
|
932
|
+
# @private
|
933
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
934
|
+
property :node_metadata, as: 'nodeMetadata'
|
935
|
+
end
|
936
|
+
end
|
904
937
|
end
|
905
938
|
end
|
906
939
|
end
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module ContainerV1beta1
|
23
|
-
# Google
|
23
|
+
# Google Kubernetes Engine API
|
24
24
|
#
|
25
25
|
# The Google Kubernetes Engine API is used for building and managing container
|
26
26
|
# based applications, powered by the open source Kubernetes technology.
|
@@ -1008,6 +1008,41 @@ module Google
|
|
1008
1008
|
execute_or_queue_command(command, &block)
|
1009
1009
|
end
|
1010
1010
|
|
1011
|
+
# Sets the size of a specific node pool.
|
1012
|
+
# @param [String] name
|
1013
|
+
# The name (project, location, cluster, node pool id) of the node pool to set
|
1014
|
+
# size.
|
1015
|
+
# Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
|
1016
|
+
# @param [Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest] set_node_pool_size_request_object
|
1017
|
+
# @param [String] fields
|
1018
|
+
# Selector specifying which fields to include in a partial response.
|
1019
|
+
# @param [String] quota_user
|
1020
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1021
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1022
|
+
# @param [Google::Apis::RequestOptions] options
|
1023
|
+
# Request-specific options
|
1024
|
+
#
|
1025
|
+
# @yield [result, err] Result & error if block supplied
|
1026
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
1027
|
+
# @yieldparam err [StandardError] error object if request failed
|
1028
|
+
#
|
1029
|
+
# @return [Google::Apis::ContainerV1beta1::Operation]
|
1030
|
+
#
|
1031
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1032
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1033
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1034
|
+
def set_project_location_cluster_node_pool_size(name, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1035
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:setSize', options)
|
1036
|
+
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest::Representation
|
1037
|
+
command.request_object = set_node_pool_size_request_object
|
1038
|
+
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
1039
|
+
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
1040
|
+
command.params['name'] = name unless name.nil?
|
1041
|
+
command.query['fields'] = fields unless fields.nil?
|
1042
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1043
|
+
execute_or_queue_command(command, &block)
|
1044
|
+
end
|
1045
|
+
|
1011
1046
|
# Updates the version and/or iamge type of a specific node pool.
|
1012
1047
|
# @param [String] name
|
1013
1048
|
# The name (project, location, cluster, node pool) of the node pool to update.
|
@@ -2319,6 +2354,54 @@ module Google
|
|
2319
2354
|
execute_or_queue_command(command, &block)
|
2320
2355
|
end
|
2321
2356
|
|
2357
|
+
# Sets the size of a specific node pool.
|
2358
|
+
# @param [String] project_id
|
2359
|
+
# The Google Developers Console [project ID or project
|
2360
|
+
# number](https://support.google.com/cloud/answer/6158840).
|
2361
|
+
# @param [String] zone
|
2362
|
+
# The name of the Google Compute Engine
|
2363
|
+
# [zone](/compute/docs/zones#available) in which the cluster
|
2364
|
+
# resides.
|
2365
|
+
# This field is deprecated, use name instead.
|
2366
|
+
# @param [String] cluster_id
|
2367
|
+
# The name of the cluster to update.
|
2368
|
+
# This field is deprecated, use name instead.
|
2369
|
+
# @param [String] node_pool_id
|
2370
|
+
# The name of the node pool to update.
|
2371
|
+
# This field is deprecated, use name instead.
|
2372
|
+
# @param [Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest] set_node_pool_size_request_object
|
2373
|
+
# @param [String] fields
|
2374
|
+
# Selector specifying which fields to include in a partial response.
|
2375
|
+
# @param [String] quota_user
|
2376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2378
|
+
# @param [Google::Apis::RequestOptions] options
|
2379
|
+
# Request-specific options
|
2380
|
+
#
|
2381
|
+
# @yield [result, err] Result & error if block supplied
|
2382
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
2383
|
+
# @yieldparam err [StandardError] error object if request failed
|
2384
|
+
#
|
2385
|
+
# @return [Google::Apis::ContainerV1beta1::Operation]
|
2386
|
+
#
|
2387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2390
|
+
def set_project_zone_cluster_node_pool_size(project_id, zone, cluster_id, node_pool_id, set_node_pool_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2391
|
+
command = make_simple_command(:post, 'v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize', options)
|
2392
|
+
command.request_representation = Google::Apis::ContainerV1beta1::SetNodePoolSizeRequest::Representation
|
2393
|
+
command.request_object = set_node_pool_size_request_object
|
2394
|
+
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
2395
|
+
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
2396
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
2397
|
+
command.params['zone'] = zone unless zone.nil?
|
2398
|
+
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
2399
|
+
command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil?
|
2400
|
+
command.query['fields'] = fields unless fields.nil?
|
2401
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2402
|
+
execute_or_queue_command(command, &block)
|
2403
|
+
end
|
2404
|
+
|
2322
2405
|
# Updates the version and/or iamge type of a specific node pool.
|
2323
2406
|
# @param [String] project_id
|
2324
2407
|
# The Google Developers Console [project ID or project
|
@@ -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 = '20180109'
|
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,58 @@ module Google
|
|
198
198
|
execute_or_queue_command(command, &block)
|
199
199
|
end
|
200
200
|
|
201
|
+
# Instantiates a template and begins execution.This method is equivalent to
|
202
|
+
# executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate,
|
203
|
+
# DeleteWorkflowTemplate.The returned Operation can be used to track execution
|
204
|
+
# of workflow by polling google.cloud.dataproc.v1beta2.OperationService.
|
205
|
+
# GetOperation. The Operation will complete when entire workflow is finished.The
|
206
|
+
# running workflow can be aborted via google.cloud.dataproc.v1beta2.
|
207
|
+
# OperationService.CancelOperation.The google.cloud.dataproc.v1beta2.Operation.
|
208
|
+
# metadata will always be google.cloud.dataproc.v1beta2.WorkflowMetadata.The
|
209
|
+
# google.cloud.dataproc.v1beta2.Operation.result will always be google.protobuf.
|
210
|
+
# Empty.
|
211
|
+
# @param [String] parent
|
212
|
+
# Required. The "resource name" of the workflow template region, as described in
|
213
|
+
# https://cloud.google.com/apis/design/resource_names of the form projects/`
|
214
|
+
# project_id`/regions/`region`
|
215
|
+
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
216
|
+
# @param [String] instance_id
|
217
|
+
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
218
|
+
# same tag from running. This mitigates risk of concurrent instances started due
|
219
|
+
# to retries.It is recommended to always set this value to a UUID (https://en.
|
220
|
+
# wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
|
221
|
+
# letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
|
222
|
+
# maximum length is 40 characters.
|
223
|
+
# @param [String] fields
|
224
|
+
# Selector specifying which fields to include in a partial response.
|
225
|
+
# @param [String] quota_user
|
226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
228
|
+
# @param [Google::Apis::RequestOptions] options
|
229
|
+
# Request-specific options
|
230
|
+
#
|
231
|
+
# @yield [result, err] Result & error if block supplied
|
232
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Operation] parsed result object
|
233
|
+
# @yieldparam err [StandardError] error object if request failed
|
234
|
+
#
|
235
|
+
# @return [Google::Apis::DataprocV1beta2::Operation]
|
236
|
+
#
|
237
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
238
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
239
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
240
|
+
def instantiate_project_location_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
241
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
242
|
+
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
243
|
+
command.request_object = workflow_template_object
|
244
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
245
|
+
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
246
|
+
command.params['parent'] = parent unless parent.nil?
|
247
|
+
command.query['instanceId'] = instance_id unless instance_id.nil?
|
248
|
+
command.query['fields'] = fields unless fields.nil?
|
249
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
250
|
+
execute_or_queue_command(command, &block)
|
251
|
+
end
|
252
|
+
|
201
253
|
# Lists workflows that match the specified filter in the request.
|
202
254
|
# @param [String] parent
|
203
255
|
# Required. The "resource name" of the region, as described in https://cloud.
|
@@ -1213,6 +1265,58 @@ module Google
|
|
1213
1265
|
execute_or_queue_command(command, &block)
|
1214
1266
|
end
|
1215
1267
|
|
1268
|
+
# Instantiates a template and begins execution.This method is equivalent to
|
1269
|
+
# executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate,
|
1270
|
+
# DeleteWorkflowTemplate.The returned Operation can be used to track execution
|
1271
|
+
# of workflow by polling google.cloud.dataproc.v1beta2.OperationService.
|
1272
|
+
# GetOperation. The Operation will complete when entire workflow is finished.The
|
1273
|
+
# running workflow can be aborted via google.cloud.dataproc.v1beta2.
|
1274
|
+
# OperationService.CancelOperation.The google.cloud.dataproc.v1beta2.Operation.
|
1275
|
+
# metadata will always be google.cloud.dataproc.v1beta2.WorkflowMetadata.The
|
1276
|
+
# google.cloud.dataproc.v1beta2.Operation.result will always be google.protobuf.
|
1277
|
+
# Empty.
|
1278
|
+
# @param [String] parent
|
1279
|
+
# Required. The "resource name" of the workflow template region, as described in
|
1280
|
+
# https://cloud.google.com/apis/design/resource_names of the form projects/`
|
1281
|
+
# project_id`/regions/`region`
|
1282
|
+
# @param [Google::Apis::DataprocV1beta2::WorkflowTemplate] workflow_template_object
|
1283
|
+
# @param [String] instance_id
|
1284
|
+
# Optional. A tag that prevents multiple concurrent workflow instances with the
|
1285
|
+
# same tag from running. This mitigates risk of concurrent instances started due
|
1286
|
+
# to retries.It is recommended to always set this value to a UUID (https://en.
|
1287
|
+
# wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only
|
1288
|
+
# letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The
|
1289
|
+
# maximum length is 40 characters.
|
1290
|
+
# @param [String] fields
|
1291
|
+
# Selector specifying which fields to include in a partial response.
|
1292
|
+
# @param [String] quota_user
|
1293
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1294
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1295
|
+
# @param [Google::Apis::RequestOptions] options
|
1296
|
+
# Request-specific options
|
1297
|
+
#
|
1298
|
+
# @yield [result, err] Result & error if block supplied
|
1299
|
+
# @yieldparam result [Google::Apis::DataprocV1beta2::Operation] parsed result object
|
1300
|
+
# @yieldparam err [StandardError] error object if request failed
|
1301
|
+
#
|
1302
|
+
# @return [Google::Apis::DataprocV1beta2::Operation]
|
1303
|
+
#
|
1304
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1305
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1306
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1307
|
+
def instantiate_project_region_workflow_template_inline(parent, workflow_template_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1308
|
+
command = make_simple_command(:post, 'v1beta2/{+parent}/workflowTemplates:instantiateInline', options)
|
1309
|
+
command.request_representation = Google::Apis::DataprocV1beta2::WorkflowTemplate::Representation
|
1310
|
+
command.request_object = workflow_template_object
|
1311
|
+
command.response_representation = Google::Apis::DataprocV1beta2::Operation::Representation
|
1312
|
+
command.response_class = Google::Apis::DataprocV1beta2::Operation
|
1313
|
+
command.params['parent'] = parent unless parent.nil?
|
1314
|
+
command.query['instanceId'] = instance_id unless instance_id.nil?
|
1315
|
+
command.query['fields'] = fields unless fields.nil?
|
1316
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1317
|
+
execute_or_queue_command(command, &block)
|
1318
|
+
end
|
1319
|
+
|
1216
1320
|
# Lists workflows that match the specified filter in the request.
|
1217
1321
|
# @param [String] parent
|
1218
1322
|
# Required. The "resource name" of the region, as described in https://cloud.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180108'
|
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'
|
@@ -1330,6 +1330,12 @@ module Google
|
|
1330
1330
|
class IntentMessageImage
|
1331
1331
|
include Google::Apis::Core::Hashable
|
1332
1332
|
|
1333
|
+
# Optional. A text description of the image to be used for accessibility,
|
1334
|
+
# e.g., screen readers.
|
1335
|
+
# Corresponds to the JSON property `accessibilityText`
|
1336
|
+
# @return [String]
|
1337
|
+
attr_accessor :accessibility_text
|
1338
|
+
|
1333
1339
|
# Optional. The public URI to an image file.
|
1334
1340
|
# Corresponds to the JSON property `imageUri`
|
1335
1341
|
# @return [String]
|
@@ -1341,6 +1347,7 @@ module Google
|
|
1341
1347
|
|
1342
1348
|
# Update properties of this object
|
1343
1349
|
def update!(**args)
|
1350
|
+
@accessibility_text = args[:accessibility_text] if args.key?(:accessibility_text)
|
1344
1351
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
1345
1352
|
end
|
1346
1353
|
end
|