google-api-client 0.28.5 → 0.28.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +46 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -1
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -4
  7. data/generated/google/apis/bigquery_v2.rb +1 -1
  8. data/generated/google/apis/bigquery_v2/classes.rb +892 -0
  9. data/generated/google/apis/bigquery_v2/representations.rb +352 -0
  10. data/generated/google/apis/bigquery_v2/service.rb +162 -0
  11. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  12. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +78 -0
  13. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
  14. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +76 -0
  15. data/generated/google/apis/cloudasset_v1.rb +2 -2
  16. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  17. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  18. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  19. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
  21. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  22. data/generated/google/apis/cloudbuild_v1/service.rb +7 -1
  23. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  24. data/generated/google/apis/cloudfunctions_v1/classes.rb +10 -10
  25. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  26. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +10 -10
  27. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  28. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +100 -0
  29. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
  30. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  31. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -2
  32. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  33. data/generated/google/apis/cloudshell_v1alpha1/service.rb +5 -4
  34. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/composer_v1beta1.rb +1 -1
  38. data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +31 -0
  41. data/generated/google/apis/container_v1/representations.rb +3 -0
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +70 -0
  44. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  45. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  46. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -10
  47. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  50. data/generated/google/apis/dlp_v2.rb +1 -1
  51. data/generated/google/apis/dlp_v2/classes.rb +45 -0
  52. data/generated/google/apis/dlp_v2/representations.rb +20 -0
  53. data/generated/google/apis/dns_v1beta2.rb +1 -1
  54. data/generated/google/apis/dns_v1beta2/classes.rb +71 -0
  55. data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
  56. data/generated/google/apis/factchecktools_v1alpha1.rb +3 -3
  57. data/generated/google/apis/iap_v1.rb +1 -1
  58. data/generated/google/apis/iap_v1beta1.rb +1 -1
  59. data/generated/google/apis/ml_v1.rb +1 -1
  60. data/generated/google/apis/oauth2_v1.rb +1 -1
  61. data/generated/google/apis/oauth2_v2.rb +1 -1
  62. data/generated/google/apis/plus_domains_v1.rb +2 -5
  63. data/generated/google/apis/plus_domains_v1/service.rb +0 -292
  64. data/generated/google/apis/plus_v1.rb +2 -2
  65. data/generated/google/apis/redis_v1.rb +1 -1
  66. data/generated/google/apis/redis_v1/classes.rb +30 -10
  67. data/generated/google/apis/redis_v1/representations.rb +13 -0
  68. data/generated/google/apis/redis_v1/service.rb +36 -0
  69. data/generated/google/apis/redis_v1beta1.rb +1 -1
  70. data/generated/google/apis/redis_v1beta1/classes.rb +18 -11
  71. data/generated/google/apis/servicebroker_v1.rb +1 -1
  72. data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
  73. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  74. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
  75. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  76. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
  77. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  78. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +122 -5
  79. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +26 -0
  80. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +83 -0
  81. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  82. data/generated/google/apis/servicenetworking_v1/classes.rb +83 -5
  83. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  84. data/generated/google/apis/servicenetworking_v1beta/classes.rb +83 -5
  85. data/generated/google/apis/serviceusage_v1.rb +1 -1
  86. data/generated/google/apis/serviceusage_v1/classes.rb +123 -6
  87. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  88. data/generated/google/apis/serviceusage_v1beta1/classes.rb +163 -7
  89. data/generated/google/apis/speech_v1.rb +1 -1
  90. data/generated/google/apis/speech_v1/classes.rb +1 -1
  91. data/generated/google/apis/speech_v1/service.rb +2 -0
  92. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  93. data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
  94. data/generated/google/apis/speech_v1p1beta1/service.rb +2 -0
  95. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  96. data/generated/google/apis/sqladmin_v1beta4/classes.rb +62 -0
  97. data/generated/google/apis/sqladmin_v1beta4/representations.rb +32 -0
  98. data/generated/google/apis/testing_v1.rb +1 -1
  99. data/generated/google/apis/testing_v1/classes.rb +0 -14
  100. data/generated/google/apis/testing_v1/representations.rb +0 -1
  101. data/lib/google/apis/version.rb +1 -1
  102. metadata +4 -3
@@ -577,6 +577,168 @@ module Google
577
577
  execute_or_queue_command(command, &block)
578
578
  end
579
579
 
580
+ # Deletes the model specified by modelId from the dataset.
581
+ # @param [String] project_id
582
+ # Project ID of the model to delete.
583
+ # @param [String] dataset_id
584
+ # Dataset ID of the model to delete.
585
+ # @param [String] model_id
586
+ # Model ID of the model to delete.
587
+ # @param [String] fields
588
+ # Selector specifying which fields to include in a partial response.
589
+ # @param [String] quota_user
590
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
591
+ # characters.
592
+ # @param [String] user_ip
593
+ # Deprecated. Please use quotaUser instead.
594
+ # @param [Google::Apis::RequestOptions] options
595
+ # Request-specific options
596
+ #
597
+ # @yield [result, err] Result & error if block supplied
598
+ # @yieldparam result [NilClass] No result returned for this method
599
+ # @yieldparam err [StandardError] error object if request failed
600
+ #
601
+ # @return [void]
602
+ #
603
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
604
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
605
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
606
+ def delete_model(project_id, dataset_id, model_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
607
+ command = make_simple_command(:delete, 'projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}', options)
608
+ command.params['projectId'] = project_id unless project_id.nil?
609
+ command.params['datasetId'] = dataset_id unless dataset_id.nil?
610
+ command.params['modelId'] = model_id unless model_id.nil?
611
+ command.query['fields'] = fields unless fields.nil?
612
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
613
+ command.query['userIp'] = user_ip unless user_ip.nil?
614
+ execute_or_queue_command(command, &block)
615
+ end
616
+
617
+ # Gets the specified model resource by model ID.
618
+ # @param [String] project_id
619
+ # Project ID of the requested model.
620
+ # @param [String] dataset_id
621
+ # Dataset ID of the requested model.
622
+ # @param [String] model_id
623
+ # Model ID of the requested model.
624
+ # @param [String] fields
625
+ # Selector specifying which fields to include in a partial response.
626
+ # @param [String] quota_user
627
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
628
+ # characters.
629
+ # @param [String] user_ip
630
+ # Deprecated. Please use quotaUser instead.
631
+ # @param [Google::Apis::RequestOptions] options
632
+ # Request-specific options
633
+ #
634
+ # @yield [result, err] Result & error if block supplied
635
+ # @yieldparam result [Google::Apis::BigqueryV2::Model] parsed result object
636
+ # @yieldparam err [StandardError] error object if request failed
637
+ #
638
+ # @return [Google::Apis::BigqueryV2::Model]
639
+ #
640
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
641
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
642
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
643
+ def get_model(project_id, dataset_id, model_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
644
+ command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}', options)
645
+ command.response_representation = Google::Apis::BigqueryV2::Model::Representation
646
+ command.response_class = Google::Apis::BigqueryV2::Model
647
+ command.params['projectId'] = project_id unless project_id.nil?
648
+ command.params['datasetId'] = dataset_id unless dataset_id.nil?
649
+ command.params['modelId'] = model_id unless model_id.nil?
650
+ command.query['fields'] = fields unless fields.nil?
651
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
652
+ command.query['userIp'] = user_ip unless user_ip.nil?
653
+ execute_or_queue_command(command, &block)
654
+ end
655
+
656
+ # Lists all models in the specified dataset. Requires the READER dataset
657
+ # role.
658
+ # @param [String] project_id
659
+ # Project ID of the models to list.
660
+ # @param [String] dataset_id
661
+ # Dataset ID of the models to list.
662
+ # @param [Fixnum] max_results
663
+ # The maximum number of results per page.
664
+ # @param [String] page_token
665
+ # Page token, returned by a previous call to request the next page of
666
+ # results
667
+ # @param [String] fields
668
+ # Selector specifying which fields to include in a partial response.
669
+ # @param [String] quota_user
670
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
671
+ # characters.
672
+ # @param [String] user_ip
673
+ # Deprecated. Please use quotaUser instead.
674
+ # @param [Google::Apis::RequestOptions] options
675
+ # Request-specific options
676
+ #
677
+ # @yield [result, err] Result & error if block supplied
678
+ # @yieldparam result [Google::Apis::BigqueryV2::ListModelsResponse] parsed result object
679
+ # @yieldparam err [StandardError] error object if request failed
680
+ #
681
+ # @return [Google::Apis::BigqueryV2::ListModelsResponse]
682
+ #
683
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
684
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
686
+ def list_models(project_id, dataset_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
687
+ command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/models', options)
688
+ command.response_representation = Google::Apis::BigqueryV2::ListModelsResponse::Representation
689
+ command.response_class = Google::Apis::BigqueryV2::ListModelsResponse
690
+ command.params['projectId'] = project_id unless project_id.nil?
691
+ command.params['datasetId'] = dataset_id unless dataset_id.nil?
692
+ command.query['maxResults'] = max_results unless max_results.nil?
693
+ command.query['pageToken'] = page_token unless page_token.nil?
694
+ command.query['fields'] = fields unless fields.nil?
695
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
696
+ command.query['userIp'] = user_ip unless user_ip.nil?
697
+ execute_or_queue_command(command, &block)
698
+ end
699
+
700
+ # Patch specific fields in the specified model.
701
+ # @param [String] project_id
702
+ # Project ID of the model to patch.
703
+ # @param [String] dataset_id
704
+ # Dataset ID of the model to patch.
705
+ # @param [String] model_id
706
+ # Model ID of the model to patch.
707
+ # @param [Google::Apis::BigqueryV2::Model] model_object
708
+ # @param [String] fields
709
+ # Selector specifying which fields to include in a partial response.
710
+ # @param [String] quota_user
711
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
712
+ # characters.
713
+ # @param [String] user_ip
714
+ # Deprecated. Please use quotaUser instead.
715
+ # @param [Google::Apis::RequestOptions] options
716
+ # Request-specific options
717
+ #
718
+ # @yield [result, err] Result & error if block supplied
719
+ # @yieldparam result [Google::Apis::BigqueryV2::Model] parsed result object
720
+ # @yieldparam err [StandardError] error object if request failed
721
+ #
722
+ # @return [Google::Apis::BigqueryV2::Model]
723
+ #
724
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
725
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
726
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
727
+ def patch_model(project_id, dataset_id, model_id, model_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
728
+ command = make_simple_command(:patch, 'projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}', options)
729
+ command.request_representation = Google::Apis::BigqueryV2::Model::Representation
730
+ command.request_object = model_object
731
+ command.response_representation = Google::Apis::BigqueryV2::Model::Representation
732
+ command.response_class = Google::Apis::BigqueryV2::Model
733
+ command.params['projectId'] = project_id unless project_id.nil?
734
+ command.params['datasetId'] = dataset_id unless dataset_id.nil?
735
+ command.params['modelId'] = model_id unless model_id.nil?
736
+ command.query['fields'] = fields unless fields.nil?
737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
738
+ command.query['userIp'] = user_ip unless user_ip.nil?
739
+ execute_or_queue_command(command, &block)
740
+ end
741
+
580
742
  # Returns the email address of the service account for your project used for
581
743
  # interactions with Google Cloud KMS.
582
744
  # @param [String] project_id
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/bigquery/
27
27
  module BigquerydatatransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190309'
29
+ REVISION = '20190323'
30
30
 
31
31
  # View and manage your data in Google BigQuery
32
32
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -603,6 +603,52 @@ module Google
603
603
  end
604
604
  end
605
605
 
606
+ # A request to start manual transfer runs.
607
+ class StartManualTransferRunsRequest
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # Specific run_time for a transfer run to be started. The
611
+ # requested_run_time must not be in the future.
612
+ # Corresponds to the JSON property `requestedRunTime`
613
+ # @return [String]
614
+ attr_accessor :requested_run_time
615
+
616
+ # A specification for a time range, this will request transfer runs with
617
+ # run_time between start_time (inclusive) and end_time (exclusive).
618
+ # Corresponds to the JSON property `requestedTimeRange`
619
+ # @return [Google::Apis::BigquerydatatransferV1::TimeRange]
620
+ attr_accessor :requested_time_range
621
+
622
+ def initialize(**args)
623
+ update!(**args)
624
+ end
625
+
626
+ # Update properties of this object
627
+ def update!(**args)
628
+ @requested_run_time = args[:requested_run_time] if args.key?(:requested_run_time)
629
+ @requested_time_range = args[:requested_time_range] if args.key?(:requested_time_range)
630
+ end
631
+ end
632
+
633
+ # A response to start manual transfer runs.
634
+ class StartManualTransferRunsResponse
635
+ include Google::Apis::Core::Hashable
636
+
637
+ # The transfer runs that were created.
638
+ # Corresponds to the JSON property `runs`
639
+ # @return [Array<Google::Apis::BigquerydatatransferV1::TransferRun>]
640
+ attr_accessor :runs
641
+
642
+ def initialize(**args)
643
+ update!(**args)
644
+ end
645
+
646
+ # Update properties of this object
647
+ def update!(**args)
648
+ @runs = args[:runs] if args.key?(:runs)
649
+ end
650
+ end
651
+
606
652
  # The `Status` type defines a logical error model that is suitable for
607
653
  # different programming environments, including REST APIs and RPC APIs. It is
608
654
  # used by [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -675,6 +721,38 @@ module Google
675
721
  end
676
722
  end
677
723
 
724
+ # A specification for a time range, this will request transfer runs with
725
+ # run_time between start_time (inclusive) and end_time (exclusive).
726
+ class TimeRange
727
+ include Google::Apis::Core::Hashable
728
+
729
+ # End time of the range of transfer runs. For example,
730
+ # `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
731
+ # Creates transfer runs where run_time is in the range betwen start_time
732
+ # (inclusive) and end_time (exlusive).
733
+ # Corresponds to the JSON property `endTime`
734
+ # @return [String]
735
+ attr_accessor :end_time
736
+
737
+ # Start time of the range of transfer runs. For example,
738
+ # `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
739
+ # the end_time. Creates transfer runs where run_time is in the range betwen
740
+ # start_time (inclusive) and end_time (exlusive).
741
+ # Corresponds to the JSON property `startTime`
742
+ # @return [String]
743
+ attr_accessor :start_time
744
+
745
+ def initialize(**args)
746
+ update!(**args)
747
+ end
748
+
749
+ # Update properties of this object
750
+ def update!(**args)
751
+ @end_time = args[:end_time] if args.key?(:end_time)
752
+ @start_time = args[:start_time] if args.key?(:start_time)
753
+ end
754
+ end
755
+
678
756
  # Represents a data transfer configuration. A transfer configuration
679
757
  # contains all metadata needed to perform a data transfer. For example,
680
758
  # `destination_dataset_id` specifies where data should be stored.
@@ -106,12 +106,30 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class StartManualTransferRunsRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class StartManualTransferRunsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class Status
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class TimeRange
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class TransferConfig
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -277,6 +295,23 @@ module Google
277
295
  end
278
296
  end
279
297
 
298
+ class StartManualTransferRunsRequest
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :requested_run_time, as: 'requestedRunTime'
302
+ property :requested_time_range, as: 'requestedTimeRange', class: Google::Apis::BigquerydatatransferV1::TimeRange, decorator: Google::Apis::BigquerydatatransferV1::TimeRange::Representation
303
+
304
+ end
305
+ end
306
+
307
+ class StartManualTransferRunsResponse
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ collection :runs, as: 'runs', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation
311
+
312
+ end
313
+ end
314
+
280
315
  class Status
281
316
  # @private
282
317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -286,6 +321,14 @@ module Google
286
321
  end
287
322
  end
288
323
 
324
+ class TimeRange
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :end_time, as: 'endTime'
328
+ property :start_time, as: 'startTime'
329
+ end
330
+ end
331
+
289
332
  class TransferConfig
290
333
  # @private
291
334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -585,6 +585,7 @@ module Google
585
585
  # For each date - or whatever granularity the data source supports - in the
586
586
  # range, one transfer run is created.
587
587
  # Note that runs are created per UTC time in the time range.
588
+ # DEPRECATED: use StartManualTransferRuns instead.
588
589
  # @param [String] parent
589
590
  # Transfer configuration name in the form:
590
591
  # `projects/`project_id`/transferConfigs/`config_id``.
@@ -618,6 +619,43 @@ module Google
618
619
  execute_or_queue_command(command, &block)
619
620
  end
620
621
 
622
+ # Start manual transfer runs to be executed now with schedule_time equal to
623
+ # current time. The transfer runs can be created for a time range where the
624
+ # run_time is between start_time (inclusive) and end_time (exclusive), or for
625
+ # a specific run_time.
626
+ # @param [String] parent
627
+ # Transfer configuration name in the form:
628
+ # `projects/`project_id`/transferConfigs/`config_id``.
629
+ # @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
630
+ # @param [String] fields
631
+ # Selector specifying which fields to include in a partial response.
632
+ # @param [String] quota_user
633
+ # Available to use for quota purposes for server-side applications. Can be any
634
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
635
+ # @param [Google::Apis::RequestOptions] options
636
+ # Request-specific options
637
+ #
638
+ # @yield [result, err] Result & error if block supplied
639
+ # @yieldparam result [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse] parsed result object
640
+ # @yieldparam err [StandardError] error object if request failed
641
+ #
642
+ # @return [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse]
643
+ #
644
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
645
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
646
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
647
+ def start_project_location_transfer_config_manual_runs(parent, start_manual_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
648
+ command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
649
+ command.request_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest::Representation
650
+ command.request_object = start_manual_transfer_runs_request_object
651
+ command.response_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse::Representation
652
+ command.response_class = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse
653
+ command.params['parent'] = parent unless parent.nil?
654
+ command.query['fields'] = fields unless fields.nil?
655
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
656
+ execute_or_queue_command(command, &block)
657
+ end
658
+
621
659
  # Deletes the specified transfer run.
622
660
  # @param [String] name
623
661
  # The field will contain name of the resource requested, for example:
@@ -1015,6 +1053,7 @@ module Google
1015
1053
  # For each date - or whatever granularity the data source supports - in the
1016
1054
  # range, one transfer run is created.
1017
1055
  # Note that runs are created per UTC time in the time range.
1056
+ # DEPRECATED: use StartManualTransferRuns instead.
1018
1057
  # @param [String] parent
1019
1058
  # Transfer configuration name in the form:
1020
1059
  # `projects/`project_id`/transferConfigs/`config_id``.
@@ -1048,6 +1087,43 @@ module Google
1048
1087
  execute_or_queue_command(command, &block)
1049
1088
  end
1050
1089
 
1090
+ # Start manual transfer runs to be executed now with schedule_time equal to
1091
+ # current time. The transfer runs can be created for a time range where the
1092
+ # run_time is between start_time (inclusive) and end_time (exclusive), or for
1093
+ # a specific run_time.
1094
+ # @param [String] parent
1095
+ # Transfer configuration name in the form:
1096
+ # `projects/`project_id`/transferConfigs/`config_id``.
1097
+ # @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
1098
+ # @param [String] fields
1099
+ # Selector specifying which fields to include in a partial response.
1100
+ # @param [String] quota_user
1101
+ # Available to use for quota purposes for server-side applications. Can be any
1102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1103
+ # @param [Google::Apis::RequestOptions] options
1104
+ # Request-specific options
1105
+ #
1106
+ # @yield [result, err] Result & error if block supplied
1107
+ # @yieldparam result [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse] parsed result object
1108
+ # @yieldparam err [StandardError] error object if request failed
1109
+ #
1110
+ # @return [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse]
1111
+ #
1112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1115
+ def start_project_transfer_config_manual_runs(parent, start_manual_transfer_runs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1116
+ command = make_simple_command(:post, 'v1/{+parent}:startManualRuns', options)
1117
+ command.request_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest::Representation
1118
+ command.request_object = start_manual_transfer_runs_request_object
1119
+ command.response_representation = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse::Representation
1120
+ command.response_class = Google::Apis::BigquerydatatransferV1::StartManualTransferRunsResponse
1121
+ command.params['parent'] = parent unless parent.nil?
1122
+ command.query['fields'] = fields unless fields.nil?
1123
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1124
+ execute_or_queue_command(command, &block)
1125
+ end
1126
+
1051
1127
  # Deletes the specified transfer run.
1052
1128
  # @param [String] name
1053
1129
  # The field will contain name of the resource requested, for example:
@@ -22,10 +22,10 @@ module Google
22
22
  #
23
23
  # The cloud asset API manages the history and inventory of cloud resources.
24
24
  #
25
- # @see https://console.cloud.google.com/apis/api/cloudasset.googleapis.com/overview
25
+ # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190321'
28
+ REVISION = '20190327'
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'