google-api-client 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +114 -0
- data/CODE_OF_CONDUCT.md +43 -0
- data/MIGRATING.md +1 -5
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/service.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +34 -1
- data/generated/google/apis/appengine_v1/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
- data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
- data/generated/google/apis/chat_v1.rb +2 -2
- data/generated/google/apis/chat_v1/classes.rb +76 -0
- data/generated/google/apis/chat_v1/representations.rb +25 -0
- data/generated/google/apis/chat_v1/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +0 -331
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +49 -18
- data/generated/google/apis/compute_alpha/representations.rb +6 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1114 -103
- data/generated/google/apis/compute_beta/representations.rb +431 -0
- data/generated/google/apis/compute_beta/service.rb +605 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -1
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1/service.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +348 -2
- data/generated/google/apis/container_v1beta1/representations.rb +121 -0
- data/generated/google/apis/container_v1beta1/service.rb +114 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +147 -0
- data/generated/google/apis/content_v2/representations.rb +65 -0
- data/generated/google/apis/content_v2/service.rb +81 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +164 -1
- data/generated/google/apis/dataproc_v1/representations.rb +70 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +70 -26
- data/generated/google/apis/dlp_v2/representations.rb +3 -0
- data/generated/google/apis/dlp_v2/service.rb +78 -17
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
- data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +0 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
- data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
- data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
- data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
- data/generated/google/apis/indexing_v3.rb +32 -0
- data/generated/google/apis/indexing_v3/classes.rb +115 -0
- data/generated/google/apis/indexing_v3/representations.rb +72 -0
- data/generated/google/apis/indexing_v3/service.rb +122 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +73 -72
- data/generated/google/apis/jobs_v2/representations.rb +0 -1
- data/generated/google/apis/jobs_v2/service.rb +8 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +42 -0
- data/generated/google/apis/logging_v2/representations.rb +17 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +4 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +91 -7
- data/generated/google/apis/monitoring_v3/representations.rb +17 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +12 -2
- data/generated/google/apis/poly_v1/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +57 -4
- data/generated/google/apis/pubsub_v1/representations.rb +19 -0
- data/generated/google/apis/pubsub_v1/service.rb +40 -2
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/script_v1.rb +4 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
- data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
- data/generated/google/apis/serviceusage_v1/service.rb +423 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
- data/generated/google/apis/serviceuser_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +4 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -10
- data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
- data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
- data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
- data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -587,7 +587,7 @@ module Google
|
|
587
587
|
# @param [String] parent
|
588
588
|
# The name of the database this index will apply to. For example:
|
589
589
|
# `projects/`project_id`/databases/`database_id``
|
590
|
-
# @param [Google::Apis::FirestoreV1beta1::
|
590
|
+
# @param [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index] google_firestore_admin_v1beta1_index_object
|
591
591
|
# @param [String] fields
|
592
592
|
# Selector specifying which fields to include in a partial response.
|
593
593
|
# @param [String] quota_user
|
@@ -597,20 +597,20 @@ module Google
|
|
597
597
|
# Request-specific options
|
598
598
|
#
|
599
599
|
# @yield [result, err] Result & error if block supplied
|
600
|
-
# @yieldparam result [Google::Apis::FirestoreV1beta1::
|
600
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation] parsed result object
|
601
601
|
# @yieldparam err [StandardError] error object if request failed
|
602
602
|
#
|
603
|
-
# @return [Google::Apis::FirestoreV1beta1::
|
603
|
+
# @return [Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation]
|
604
604
|
#
|
605
605
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
606
606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
607
607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
608
|
-
def create_project_database_index(parent,
|
608
|
+
def create_project_database_index(parent, google_firestore_admin_v1beta1_index_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
609
609
|
command = make_simple_command(:post, 'v1beta1/{+parent}/indexes', options)
|
610
|
-
command.request_representation = Google::Apis::FirestoreV1beta1::
|
611
|
-
command.request_object =
|
612
|
-
command.response_representation = Google::Apis::FirestoreV1beta1::
|
613
|
-
command.response_class = Google::Apis::FirestoreV1beta1::
|
610
|
+
command.request_representation = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index::Representation
|
611
|
+
command.request_object = google_firestore_admin_v1beta1_index_object
|
612
|
+
command.response_representation = Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation::Representation
|
613
|
+
command.response_class = Google::Apis::FirestoreV1beta1::GoogleLongrunningOperation
|
614
614
|
command.params['parent'] = parent unless parent.nil?
|
615
615
|
command.query['fields'] = fields unless fields.nil?
|
616
616
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -661,18 +661,18 @@ module Google
|
|
661
661
|
# Request-specific options
|
662
662
|
#
|
663
663
|
# @yield [result, err] Result & error if block supplied
|
664
|
-
# @yieldparam result [Google::Apis::FirestoreV1beta1::
|
664
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index] parsed result object
|
665
665
|
# @yieldparam err [StandardError] error object if request failed
|
666
666
|
#
|
667
|
-
# @return [Google::Apis::FirestoreV1beta1::
|
667
|
+
# @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index]
|
668
668
|
#
|
669
669
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
670
670
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
671
671
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
672
672
|
def get_project_database_index(name, fields: nil, quota_user: nil, options: nil, &block)
|
673
673
|
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
674
|
-
command.response_representation = Google::Apis::FirestoreV1beta1::
|
675
|
-
command.response_class = Google::Apis::FirestoreV1beta1::
|
674
|
+
command.response_representation = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index::Representation
|
675
|
+
command.response_class = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index
|
676
676
|
command.params['name'] = name unless name.nil?
|
677
677
|
command.query['fields'] = fields unless fields.nil?
|
678
678
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -697,18 +697,18 @@ module Google
|
|
697
697
|
# Request-specific options
|
698
698
|
#
|
699
699
|
# @yield [result, err] Result & error if block supplied
|
700
|
-
# @yieldparam result [Google::Apis::FirestoreV1beta1::
|
700
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse] parsed result object
|
701
701
|
# @yieldparam err [StandardError] error object if request failed
|
702
702
|
#
|
703
|
-
# @return [Google::Apis::FirestoreV1beta1::
|
703
|
+
# @return [Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse]
|
704
704
|
#
|
705
705
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
706
706
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
707
707
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
708
708
|
def list_project_database_indexes(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
709
709
|
command = make_simple_command(:get, 'v1beta1/{+parent}/indexes', options)
|
710
|
-
command.response_representation = Google::Apis::FirestoreV1beta1::
|
711
|
-
command.response_class = Google::Apis::FirestoreV1beta1::
|
710
|
+
command.response_representation = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse::Representation
|
711
|
+
command.response_class = Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1ListIndexesResponse
|
712
712
|
command.params['parent'] = parent unless parent.nil?
|
713
713
|
command.query['filter'] = filter unless filter.nil?
|
714
714
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180702'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180607'
|
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'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV2alpha1
|
27
27
|
VERSION = 'V2alpha1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180623'
|
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'
|
@@ -458,7 +458,7 @@ module Google
|
|
458
458
|
# @return [String]
|
459
459
|
attr_accessor :source_image
|
460
460
|
|
461
|
-
# The Compute Engine disk type. If unspecified, 'standard
|
461
|
+
# The Compute Engine disk type. If unspecified, 'pd-standard' is used.
|
462
462
|
# Corresponds to the JSON property `type`
|
463
463
|
# @return [String]
|
464
464
|
attr_accessor :type
|
@@ -705,12 +705,25 @@ module Google
|
|
705
705
|
class Network
|
706
706
|
include Google::Apis::Core::Hashable
|
707
707
|
|
708
|
-
# The network name to attach the VM's network interface to.
|
709
|
-
#
|
708
|
+
# The network name to attach the VM's network interface to. The value will
|
709
|
+
# be prefixed with "global/networks/" unless it contains a "/" in which case
|
710
|
+
# it is assumed to be a fully specified network resource URL.
|
711
|
+
# If unspecified, the global default network is used.
|
710
712
|
# Corresponds to the JSON property `name`
|
711
713
|
# @return [String]
|
712
714
|
attr_accessor :name
|
713
715
|
|
716
|
+
# If the specified network is configured for custom subnet creation, the
|
717
|
+
# name of the subnetwork to attach the instance to must be specified here.
|
718
|
+
# The value is prefixed with "regions/*/subnetworks/" unless it contains a
|
719
|
+
# "/" in which case it is assumed to be a full specified subnetwork resource
|
720
|
+
# URL.
|
721
|
+
# If the '*' character appears in the value, it is replaced with the region
|
722
|
+
# that the virtual machine has been allocated in.
|
723
|
+
# Corresponds to the JSON property `subnetwork`
|
724
|
+
# @return [String]
|
725
|
+
attr_accessor :subnetwork
|
726
|
+
|
714
727
|
# If set to true, do not attach a public IP address to the VM. Note that
|
715
728
|
# without an public IP address, additional configuration is required to
|
716
729
|
# allow the VM to access Google services.
|
@@ -728,6 +741,7 @@ module Google
|
|
728
741
|
# Update properties of this object
|
729
742
|
def update!(**args)
|
730
743
|
@name = args[:name] if args.key?(:name)
|
744
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
731
745
|
@use_private_address = args[:use_private_address] if args.key?(:use_private_address)
|
732
746
|
end
|
733
747
|
end
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180607'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -12,27 +12,23 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
-
require 'google/apis/
|
16
|
-
require 'google/apis/
|
17
|
-
require 'google/apis/
|
15
|
+
require 'google/apis/iamcredentials_v1/service.rb'
|
16
|
+
require 'google/apis/iamcredentials_v1/classes.rb'
|
17
|
+
require 'google/apis/iamcredentials_v1/representations.rb'
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# IAM Service Account Credentials API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# databases.
|
23
|
+
# IAM Service Account Credentials API
|
25
24
|
#
|
26
|
-
# @see https://
|
27
|
-
module
|
28
|
-
VERSION = '
|
29
|
-
REVISION = '
|
25
|
+
# @see https://developers.google.com/identity/protocols/OAuth2ServiceAccount
|
26
|
+
module IamcredentialsV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20180627'
|
30
29
|
|
31
30
|
# View and manage your data across Google Cloud Platform services
|
32
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
-
|
34
|
-
# Manage your Google SQL Service instances
|
35
|
-
AUTH_SQLSERVICE_ADMIN = 'https://www.googleapis.com/auth/sqlservice.admin'
|
36
32
|
end
|
37
33
|
end
|
38
34
|
end
|
@@ -0,0 +1,272 @@
|
|
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 IamcredentialsV1
|
24
|
+
|
25
|
+
#
|
26
|
+
class GenerateAccessTokenRequest
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# The sequence of service accounts in a delegation chain. Each service
|
30
|
+
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
31
|
+
# on its next service account in the chain. The last service account in the
|
32
|
+
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
33
|
+
# on the service account that is specified in the `name` field of the
|
34
|
+
# request.
|
35
|
+
# The delegates must have the following format:
|
36
|
+
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
|
37
|
+
# Corresponds to the JSON property `delegates`
|
38
|
+
# @return [Array<String>]
|
39
|
+
attr_accessor :delegates
|
40
|
+
|
41
|
+
# The desired lifetime duration of the access token in seconds.
|
42
|
+
# Must be set to a value less than or equal to 3600 (1 hour). If a value is
|
43
|
+
# not specified, the token's lifetime will be set to a default value of one
|
44
|
+
# hour.
|
45
|
+
# Corresponds to the JSON property `lifetime`
|
46
|
+
# @return [String]
|
47
|
+
attr_accessor :lifetime
|
48
|
+
|
49
|
+
# Code to identify ApiScope (OAuth scope to be precise) to be included in the
|
50
|
+
# OAuth token.
|
51
|
+
# See https://developers.google.com/identity/protocols/googlescopes for more
|
52
|
+
# information.
|
53
|
+
# At least one value required.
|
54
|
+
# Corresponds to the JSON property `scope`
|
55
|
+
# @return [Array<String>]
|
56
|
+
attr_accessor :scope
|
57
|
+
|
58
|
+
def initialize(**args)
|
59
|
+
update!(**args)
|
60
|
+
end
|
61
|
+
|
62
|
+
# Update properties of this object
|
63
|
+
def update!(**args)
|
64
|
+
@delegates = args[:delegates] if args.key?(:delegates)
|
65
|
+
@lifetime = args[:lifetime] if args.key?(:lifetime)
|
66
|
+
@scope = args[:scope] if args.key?(:scope)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
#
|
71
|
+
class GenerateAccessTokenResponse
|
72
|
+
include Google::Apis::Core::Hashable
|
73
|
+
|
74
|
+
# The OAuth 2.0 access token.
|
75
|
+
# Corresponds to the JSON property `accessToken`
|
76
|
+
# @return [String]
|
77
|
+
attr_accessor :access_token
|
78
|
+
|
79
|
+
# Token expiration time.
|
80
|
+
# Corresponds to the JSON property `expireTime`
|
81
|
+
# @return [String]
|
82
|
+
attr_accessor :expire_time
|
83
|
+
|
84
|
+
def initialize(**args)
|
85
|
+
update!(**args)
|
86
|
+
end
|
87
|
+
|
88
|
+
# Update properties of this object
|
89
|
+
def update!(**args)
|
90
|
+
@access_token = args[:access_token] if args.key?(:access_token)
|
91
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
#
|
96
|
+
class GenerateIdTokenRequest
|
97
|
+
include Google::Apis::Core::Hashable
|
98
|
+
|
99
|
+
# The audience for the token, such as the API or account that this token
|
100
|
+
# grants access to.
|
101
|
+
# Corresponds to the JSON property `audience`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :audience
|
104
|
+
|
105
|
+
# The sequence of service accounts in a delegation chain. Each service
|
106
|
+
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
107
|
+
# on its next service account in the chain. The last service account in the
|
108
|
+
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
109
|
+
# on the service account that is specified in the `name` field of the
|
110
|
+
# request.
|
111
|
+
# The delegates must have the following format:
|
112
|
+
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
|
113
|
+
# Corresponds to the JSON property `delegates`
|
114
|
+
# @return [Array<String>]
|
115
|
+
attr_accessor :delegates
|
116
|
+
|
117
|
+
# Include the service account email in the token. If set to `true`, the
|
118
|
+
# token will contain `email` and `email_verified` claims.
|
119
|
+
# Corresponds to the JSON property `includeEmail`
|
120
|
+
# @return [Boolean]
|
121
|
+
attr_accessor :include_email
|
122
|
+
alias_method :include_email?, :include_email
|
123
|
+
|
124
|
+
def initialize(**args)
|
125
|
+
update!(**args)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Update properties of this object
|
129
|
+
def update!(**args)
|
130
|
+
@audience = args[:audience] if args.key?(:audience)
|
131
|
+
@delegates = args[:delegates] if args.key?(:delegates)
|
132
|
+
@include_email = args[:include_email] if args.key?(:include_email)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
#
|
137
|
+
class GenerateIdTokenResponse
|
138
|
+
include Google::Apis::Core::Hashable
|
139
|
+
|
140
|
+
# The OpenId Connect ID token.
|
141
|
+
# Corresponds to the JSON property `token`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :token
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@token = args[:token] if args.key?(:token)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
#
|
156
|
+
class SignBlobRequest
|
157
|
+
include Google::Apis::Core::Hashable
|
158
|
+
|
159
|
+
# The sequence of service accounts in a delegation chain. Each service
|
160
|
+
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
161
|
+
# on its next service account in the chain. The last service account in the
|
162
|
+
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
163
|
+
# on the service account that is specified in the `name` field of the
|
164
|
+
# request.
|
165
|
+
# The delegates must have the following format:
|
166
|
+
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
|
167
|
+
# Corresponds to the JSON property `delegates`
|
168
|
+
# @return [Array<String>]
|
169
|
+
attr_accessor :delegates
|
170
|
+
|
171
|
+
# The bytes to sign.
|
172
|
+
# Corresponds to the JSON property `payload`
|
173
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :payload
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@delegates = args[:delegates] if args.key?(:delegates)
|
184
|
+
@payload = args[:payload] if args.key?(:payload)
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
#
|
189
|
+
class SignBlobResponse
|
190
|
+
include Google::Apis::Core::Hashable
|
191
|
+
|
192
|
+
# The ID of the key used to sign the blob.
|
193
|
+
# Corresponds to the JSON property `keyId`
|
194
|
+
# @return [String]
|
195
|
+
attr_accessor :key_id
|
196
|
+
|
197
|
+
# The signed blob.
|
198
|
+
# Corresponds to the JSON property `signedBlob`
|
199
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
200
|
+
# @return [String]
|
201
|
+
attr_accessor :signed_blob
|
202
|
+
|
203
|
+
def initialize(**args)
|
204
|
+
update!(**args)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Update properties of this object
|
208
|
+
def update!(**args)
|
209
|
+
@key_id = args[:key_id] if args.key?(:key_id)
|
210
|
+
@signed_blob = args[:signed_blob] if args.key?(:signed_blob)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
#
|
215
|
+
class SignJwtRequest
|
216
|
+
include Google::Apis::Core::Hashable
|
217
|
+
|
218
|
+
# The sequence of service accounts in a delegation chain. Each service
|
219
|
+
# account must be granted the `roles/iam.serviceAccountTokenCreator` role
|
220
|
+
# on its next service account in the chain. The last service account in the
|
221
|
+
# chain must be granted the `roles/iam.serviceAccountTokenCreator` role
|
222
|
+
# on the service account that is specified in the `name` field of the
|
223
|
+
# request.
|
224
|
+
# The delegates must have the following format:
|
225
|
+
# `projects/-/serviceAccounts/`ACCOUNT_EMAIL_OR_UNIQUEID``
|
226
|
+
# Corresponds to the JSON property `delegates`
|
227
|
+
# @return [Array<String>]
|
228
|
+
attr_accessor :delegates
|
229
|
+
|
230
|
+
# The JWT payload to sign: a JSON object that contains a JWT Claims Set.
|
231
|
+
# Corresponds to the JSON property `payload`
|
232
|
+
# @return [String]
|
233
|
+
attr_accessor :payload
|
234
|
+
|
235
|
+
def initialize(**args)
|
236
|
+
update!(**args)
|
237
|
+
end
|
238
|
+
|
239
|
+
# Update properties of this object
|
240
|
+
def update!(**args)
|
241
|
+
@delegates = args[:delegates] if args.key?(:delegates)
|
242
|
+
@payload = args[:payload] if args.key?(:payload)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
#
|
247
|
+
class SignJwtResponse
|
248
|
+
include Google::Apis::Core::Hashable
|
249
|
+
|
250
|
+
# The ID of the key used to sign the JWT.
|
251
|
+
# Corresponds to the JSON property `keyId`
|
252
|
+
# @return [String]
|
253
|
+
attr_accessor :key_id
|
254
|
+
|
255
|
+
# The signed JWT.
|
256
|
+
# Corresponds to the JSON property `signedJwt`
|
257
|
+
# @return [String]
|
258
|
+
attr_accessor :signed_jwt
|
259
|
+
|
260
|
+
def initialize(**args)
|
261
|
+
update!(**args)
|
262
|
+
end
|
263
|
+
|
264
|
+
# Update properties of this object
|
265
|
+
def update!(**args)
|
266
|
+
@key_id = args[:key_id] if args.key?(:key_id)
|
267
|
+
@signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
|
268
|
+
end
|
269
|
+
end
|
270
|
+
end
|
271
|
+
end
|
272
|
+
end
|