google-api-client 0.32.1 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +159 -0
- data/README.md +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +25 -19
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +519 -152
- data/generated/google/apis/compute_alpha/representations.rb +108 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1016 -266
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +283 -125
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +207 -5
- data/generated/google/apis/container_v1/representations.rb +85 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +125 -3
- data/generated/google/apis/container_v1beta1/representations.rb +22 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -220
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +57 -18
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -11
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -2
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +66 -23
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +7 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +260 -0
- data/generated/google/apis/monitoring_v1/representations.rb +123 -0
- data/generated/google/apis/monitoring_v1/service.rb +64 -0
- data/generated/google/apis/monitoring_v1.rb +36 -0
- data/generated/google/apis/monitoring_v3/classes.rb +27 -13
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +3 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -7
- data/generated/google/apis/run_v1/service.rb +156 -94
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
- data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +389 -0
- data/generated/google/apis/sheets_v4/representations.rb +79 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
- data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
- data/generated/google/apis/sql_v1beta4.rb +37 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +28 -30
- data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
- data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
- data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
- data/generated/google/apis/dfareporting_v3_2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
|
@@ -432,6 +432,210 @@ module Google
|
|
|
432
432
|
execute_or_queue_command(command, &block)
|
|
433
433
|
end
|
|
434
434
|
|
|
435
|
+
# Creates a new pubsub.
|
|
436
|
+
# @param [String] parent
|
|
437
|
+
# The project ID or project number in which this pubsub should
|
|
438
|
+
# be created.
|
|
439
|
+
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
|
|
440
|
+
# @param [String] fields
|
|
441
|
+
# Selector specifying which fields to include in a partial response.
|
|
442
|
+
# @param [String] quota_user
|
|
443
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
444
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
445
|
+
# @param [Google::Apis::RequestOptions] options
|
|
446
|
+
# Request-specific options
|
|
447
|
+
#
|
|
448
|
+
# @yield [result, err] Result & error if block supplied
|
|
449
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
|
|
450
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
451
|
+
#
|
|
452
|
+
# @return [Google::Apis::RunV1alpha1::PubSub]
|
|
453
|
+
#
|
|
454
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
455
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
456
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
457
|
+
def create_namespace_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
458
|
+
command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
|
|
459
|
+
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
460
|
+
command.request_object = pub_sub_object
|
|
461
|
+
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
462
|
+
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
|
463
|
+
command.params['parent'] = parent unless parent.nil?
|
|
464
|
+
command.query['fields'] = fields unless fields.nil?
|
|
465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
466
|
+
execute_or_queue_command(command, &block)
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
# Rpc to delete a pubsub.
|
|
470
|
+
# @param [String] name
|
|
471
|
+
# The name of the pubsub being deleted. If needed, replace
|
|
472
|
+
# `namespace_id` with the project ID.
|
|
473
|
+
# @param [String] api_version
|
|
474
|
+
# Cloud Run currently ignores this parameter.
|
|
475
|
+
# @param [String] kind
|
|
476
|
+
# Cloud Run currently ignores this parameter.
|
|
477
|
+
# @param [String] propagation_policy
|
|
478
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
479
|
+
# this setting, and deletes in the background. Please see
|
|
480
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
481
|
+
# more information.
|
|
482
|
+
# @param [String] fields
|
|
483
|
+
# Selector specifying which fields to include in a partial response.
|
|
484
|
+
# @param [String] quota_user
|
|
485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
487
|
+
# @param [Google::Apis::RequestOptions] options
|
|
488
|
+
# Request-specific options
|
|
489
|
+
#
|
|
490
|
+
# @yield [result, err] Result & error if block supplied
|
|
491
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
|
492
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
493
|
+
#
|
|
494
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
|
495
|
+
#
|
|
496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
499
|
+
def delete_namespace_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
500
|
+
command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
|
501
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
|
502
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
|
503
|
+
command.params['name'] = name unless name.nil?
|
|
504
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
505
|
+
command.query['kind'] = kind unless kind.nil?
|
|
506
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
507
|
+
command.query['fields'] = fields unless fields.nil?
|
|
508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
509
|
+
execute_or_queue_command(command, &block)
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
# Rpc to get information about a pubsub.
|
|
513
|
+
# @param [String] name
|
|
514
|
+
# The name of the pubsub being retrieved. If needed, replace
|
|
515
|
+
# `namespace_id` with the project ID.
|
|
516
|
+
# @param [String] fields
|
|
517
|
+
# Selector specifying which fields to include in a partial response.
|
|
518
|
+
# @param [String] quota_user
|
|
519
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
520
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
521
|
+
# @param [Google::Apis::RequestOptions] options
|
|
522
|
+
# Request-specific options
|
|
523
|
+
#
|
|
524
|
+
# @yield [result, err] Result & error if block supplied
|
|
525
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
|
|
526
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
527
|
+
#
|
|
528
|
+
# @return [Google::Apis::RunV1alpha1::PubSub]
|
|
529
|
+
#
|
|
530
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
531
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
532
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
533
|
+
def get_namespace_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
534
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
|
535
|
+
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
536
|
+
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
|
537
|
+
command.params['name'] = name unless name.nil?
|
|
538
|
+
command.query['fields'] = fields unless fields.nil?
|
|
539
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
540
|
+
execute_or_queue_command(command, &block)
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# Rpc to list pubsubs.
|
|
544
|
+
# @param [String] parent
|
|
545
|
+
# The project ID or project number from which the pubsubs should
|
|
546
|
+
# be listed.
|
|
547
|
+
# @param [String] continue
|
|
548
|
+
# Optional encoded string to continue paging.
|
|
549
|
+
# @param [String] field_selector
|
|
550
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
551
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
552
|
+
# Not currently used by Cloud Run.
|
|
553
|
+
# @param [Boolean] include_uninitialized
|
|
554
|
+
# Not currently used by Cloud Run.
|
|
555
|
+
# @param [String] label_selector
|
|
556
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
557
|
+
# =, !=, exists, in, and notIn.
|
|
558
|
+
# @param [Fixnum] limit
|
|
559
|
+
# The maximum number of records that should be returned.
|
|
560
|
+
# @param [String] resource_version
|
|
561
|
+
# The baseline resource version from which the list or watch operation should
|
|
562
|
+
# start. Not currently used by Cloud Run.
|
|
563
|
+
# @param [Boolean] watch
|
|
564
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
565
|
+
# Not currently used by Cloud Run.
|
|
566
|
+
# @param [String] fields
|
|
567
|
+
# Selector specifying which fields to include in a partial response.
|
|
568
|
+
# @param [String] quota_user
|
|
569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
571
|
+
# @param [Google::Apis::RequestOptions] options
|
|
572
|
+
# Request-specific options
|
|
573
|
+
#
|
|
574
|
+
# @yield [result, err] Result & error if block supplied
|
|
575
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
|
|
576
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
577
|
+
#
|
|
578
|
+
# @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
|
|
579
|
+
#
|
|
580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
583
|
+
def list_namespace_pubsubs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
584
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
|
|
585
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
|
|
586
|
+
command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
|
|
587
|
+
command.params['parent'] = parent unless parent.nil?
|
|
588
|
+
command.query['continue'] = continue unless continue.nil?
|
|
589
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
590
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
591
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
592
|
+
command.query['limit'] = limit unless limit.nil?
|
|
593
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
594
|
+
command.query['watch'] = watch unless watch.nil?
|
|
595
|
+
command.query['fields'] = fields unless fields.nil?
|
|
596
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
597
|
+
execute_or_queue_command(command, &block)
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
# Rpc to replace a pubsub.
|
|
601
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
602
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
603
|
+
# match the requested 'spec'.
|
|
604
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
605
|
+
# optimistic concurrency control.
|
|
606
|
+
# @param [String] name
|
|
607
|
+
# The name of the pubsub being retrieved. If needed, replace
|
|
608
|
+
# `namespace_id` with the project ID.
|
|
609
|
+
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
|
|
610
|
+
# @param [String] fields
|
|
611
|
+
# Selector specifying which fields to include in a partial response.
|
|
612
|
+
# @param [String] quota_user
|
|
613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
615
|
+
# @param [Google::Apis::RequestOptions] options
|
|
616
|
+
# Request-specific options
|
|
617
|
+
#
|
|
618
|
+
# @yield [result, err] Result & error if block supplied
|
|
619
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
|
|
620
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
621
|
+
#
|
|
622
|
+
# @return [Google::Apis::RunV1alpha1::PubSub]
|
|
623
|
+
#
|
|
624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
627
|
+
def replace_namespace_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
628
|
+
command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
|
629
|
+
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
630
|
+
command.request_object = pub_sub_object
|
|
631
|
+
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
632
|
+
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
|
633
|
+
command.params['name'] = name unless name.nil?
|
|
634
|
+
command.query['fields'] = fields unless fields.nil?
|
|
635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
636
|
+
execute_or_queue_command(command, &block)
|
|
637
|
+
end
|
|
638
|
+
|
|
435
639
|
# Rpc to delete a revision.
|
|
436
640
|
# @param [String] name
|
|
437
641
|
# The name of the revision being deleted. If needed, replace
|
|
@@ -1494,6 +1698,210 @@ module Google
|
|
|
1494
1698
|
execute_or_queue_command(command, &block)
|
|
1495
1699
|
end
|
|
1496
1700
|
|
|
1701
|
+
# Creates a new pubsub.
|
|
1702
|
+
# @param [String] parent
|
|
1703
|
+
# The project ID or project number in which this pubsub should
|
|
1704
|
+
# be created.
|
|
1705
|
+
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
|
|
1706
|
+
# @param [String] fields
|
|
1707
|
+
# Selector specifying which fields to include in a partial response.
|
|
1708
|
+
# @param [String] quota_user
|
|
1709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1711
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1712
|
+
# Request-specific options
|
|
1713
|
+
#
|
|
1714
|
+
# @yield [result, err] Result & error if block supplied
|
|
1715
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
|
|
1716
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1717
|
+
#
|
|
1718
|
+
# @return [Google::Apis::RunV1alpha1::PubSub]
|
|
1719
|
+
#
|
|
1720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1723
|
+
def create_project_location_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1724
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/pubsubs', options)
|
|
1725
|
+
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
1726
|
+
command.request_object = pub_sub_object
|
|
1727
|
+
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
1728
|
+
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
|
1729
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1730
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1731
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1732
|
+
execute_or_queue_command(command, &block)
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1735
|
+
# Rpc to delete a pubsub.
|
|
1736
|
+
# @param [String] name
|
|
1737
|
+
# The name of the pubsub being deleted. If needed, replace
|
|
1738
|
+
# `namespace_id` with the project ID.
|
|
1739
|
+
# @param [String] api_version
|
|
1740
|
+
# Cloud Run currently ignores this parameter.
|
|
1741
|
+
# @param [String] kind
|
|
1742
|
+
# Cloud Run currently ignores this parameter.
|
|
1743
|
+
# @param [String] propagation_policy
|
|
1744
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
|
1745
|
+
# this setting, and deletes in the background. Please see
|
|
1746
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
|
1747
|
+
# more information.
|
|
1748
|
+
# @param [String] fields
|
|
1749
|
+
# Selector specifying which fields to include in a partial response.
|
|
1750
|
+
# @param [String] quota_user
|
|
1751
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1752
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1753
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1754
|
+
# Request-specific options
|
|
1755
|
+
#
|
|
1756
|
+
# @yield [result, err] Result & error if block supplied
|
|
1757
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
|
1758
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1759
|
+
#
|
|
1760
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
|
1761
|
+
#
|
|
1762
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1763
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1764
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1765
|
+
def delete_project_location_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1766
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
|
1767
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
|
1768
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
|
1769
|
+
command.params['name'] = name unless name.nil?
|
|
1770
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
|
1771
|
+
command.query['kind'] = kind unless kind.nil?
|
|
1772
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
|
1773
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1774
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1775
|
+
execute_or_queue_command(command, &block)
|
|
1776
|
+
end
|
|
1777
|
+
|
|
1778
|
+
# Rpc to get information about a pubsub.
|
|
1779
|
+
# @param [String] name
|
|
1780
|
+
# The name of the pubsub being retrieved. If needed, replace
|
|
1781
|
+
# `namespace_id` with the project ID.
|
|
1782
|
+
# @param [String] fields
|
|
1783
|
+
# Selector specifying which fields to include in a partial response.
|
|
1784
|
+
# @param [String] quota_user
|
|
1785
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1786
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1787
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1788
|
+
# Request-specific options
|
|
1789
|
+
#
|
|
1790
|
+
# @yield [result, err] Result & error if block supplied
|
|
1791
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
|
|
1792
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1793
|
+
#
|
|
1794
|
+
# @return [Google::Apis::RunV1alpha1::PubSub]
|
|
1795
|
+
#
|
|
1796
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1797
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1798
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1799
|
+
def get_project_location_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1800
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
|
1801
|
+
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
1802
|
+
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
|
1803
|
+
command.params['name'] = name unless name.nil?
|
|
1804
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1805
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1806
|
+
execute_or_queue_command(command, &block)
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
# Rpc to list pubsubs.
|
|
1810
|
+
# @param [String] parent
|
|
1811
|
+
# The project ID or project number from which the pubsubs should
|
|
1812
|
+
# be listed.
|
|
1813
|
+
# @param [String] continue
|
|
1814
|
+
# Optional encoded string to continue paging.
|
|
1815
|
+
# @param [String] field_selector
|
|
1816
|
+
# Allows to filter resources based on a specific value for a field name.
|
|
1817
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
|
1818
|
+
# Not currently used by Cloud Run.
|
|
1819
|
+
# @param [Boolean] include_uninitialized
|
|
1820
|
+
# Not currently used by Cloud Run.
|
|
1821
|
+
# @param [String] label_selector
|
|
1822
|
+
# Allows to filter resources based on a label. Supported operations are
|
|
1823
|
+
# =, !=, exists, in, and notIn.
|
|
1824
|
+
# @param [Fixnum] limit
|
|
1825
|
+
# The maximum number of records that should be returned.
|
|
1826
|
+
# @param [String] resource_version
|
|
1827
|
+
# The baseline resource version from which the list or watch operation should
|
|
1828
|
+
# start. Not currently used by Cloud Run.
|
|
1829
|
+
# @param [Boolean] watch
|
|
1830
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
|
1831
|
+
# Not currently used by Cloud Run.
|
|
1832
|
+
# @param [String] fields
|
|
1833
|
+
# Selector specifying which fields to include in a partial response.
|
|
1834
|
+
# @param [String] quota_user
|
|
1835
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1836
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1837
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1838
|
+
# Request-specific options
|
|
1839
|
+
#
|
|
1840
|
+
# @yield [result, err] Result & error if block supplied
|
|
1841
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
|
|
1842
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1843
|
+
#
|
|
1844
|
+
# @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
|
|
1845
|
+
#
|
|
1846
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1847
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1848
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1849
|
+
def list_project_location_pubsubs(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1850
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/pubsubs', options)
|
|
1851
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
|
|
1852
|
+
command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
|
|
1853
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1854
|
+
command.query['continue'] = continue unless continue.nil?
|
|
1855
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
|
1856
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
|
1857
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
|
1858
|
+
command.query['limit'] = limit unless limit.nil?
|
|
1859
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
|
1860
|
+
command.query['watch'] = watch unless watch.nil?
|
|
1861
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1862
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1863
|
+
execute_or_queue_command(command, &block)
|
|
1864
|
+
end
|
|
1865
|
+
|
|
1866
|
+
# Rpc to replace a pubsub.
|
|
1867
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
|
1868
|
+
# the Update request, Cloud Run will work to make the 'status'
|
|
1869
|
+
# match the requested 'spec'.
|
|
1870
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
|
1871
|
+
# optimistic concurrency control.
|
|
1872
|
+
# @param [String] name
|
|
1873
|
+
# The name of the pubsub being retrieved. If needed, replace
|
|
1874
|
+
# `namespace_id` with the project ID.
|
|
1875
|
+
# @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
|
|
1876
|
+
# @param [String] fields
|
|
1877
|
+
# Selector specifying which fields to include in a partial response.
|
|
1878
|
+
# @param [String] quota_user
|
|
1879
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1880
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1881
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1882
|
+
# Request-specific options
|
|
1883
|
+
#
|
|
1884
|
+
# @yield [result, err] Result & error if block supplied
|
|
1885
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
|
|
1886
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1887
|
+
#
|
|
1888
|
+
# @return [Google::Apis::RunV1alpha1::PubSub]
|
|
1889
|
+
#
|
|
1890
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1891
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1892
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1893
|
+
def replace_project_location_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1894
|
+
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
|
1895
|
+
command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
1896
|
+
command.request_object = pub_sub_object
|
|
1897
|
+
command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
|
|
1898
|
+
command.response_class = Google::Apis::RunV1alpha1::PubSub
|
|
1899
|
+
command.params['name'] = name unless name.nil?
|
|
1900
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1902
|
+
execute_or_queue_command(command, &block)
|
|
1903
|
+
end
|
|
1904
|
+
|
|
1497
1905
|
# Rpc to delete a revision.
|
|
1498
1906
|
# @param [String] name
|
|
1499
1907
|
# The name of the revision being deleted. If needed, replace
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/run/
|
|
27
27
|
module RunV1alpha1
|
|
28
28
|
VERSION = 'V1alpha1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191021'
|
|
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'
|
|
@@ -1210,7 +1210,7 @@ module Google
|
|
|
1210
1210
|
# `
|
|
1211
1211
|
# "bindings": [
|
|
1212
1212
|
# `
|
|
1213
|
-
# "role": "
|
|
1213
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
|
1214
1214
|
# "members": [
|
|
1215
1215
|
# "user:mike@example.com",
|
|
1216
1216
|
# "group:admins@example.com",
|
|
@@ -1449,7 +1449,7 @@ module Google
|
|
|
1449
1449
|
# `
|
|
1450
1450
|
# "bindings": [
|
|
1451
1451
|
# `
|
|
1452
|
-
# "role": "
|
|
1452
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
|
1453
1453
|
# "members": [
|
|
1454
1454
|
# "user:mike@example.com",
|
|
1455
1455
|
# "group:admins@example.com",
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191004'
|
|
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'
|
|
@@ -1086,7 +1086,7 @@ module Google
|
|
|
1086
1086
|
# `
|
|
1087
1087
|
# "bindings": [
|
|
1088
1088
|
# `
|
|
1089
|
-
# "role": "
|
|
1089
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
|
1090
1090
|
# "members": [
|
|
1091
1091
|
# "user:mike@example.com",
|
|
1092
1092
|
# "group:admins@example.com",
|
|
@@ -1325,7 +1325,7 @@ module Google
|
|
|
1325
1325
|
# `
|
|
1326
1326
|
# "bindings": [
|
|
1327
1327
|
# `
|
|
1328
|
-
# "role": "
|
|
1328
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
|
1329
1329
|
# "members": [
|
|
1330
1330
|
# "user:mike@example.com",
|
|
1331
1331
|
# "group:admins@example.com",
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191004'
|
|
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'
|
|
@@ -3809,6 +3809,27 @@ module Google
|
|
|
3809
3809
|
end
|
|
3810
3810
|
end
|
|
3811
3811
|
|
|
3812
|
+
# Response message for the `GenerateServiceIdentity` method.
|
|
3813
|
+
# This response message is assigned to the `response` field of the returned
|
|
3814
|
+
# Operation when that operation is done.
|
|
3815
|
+
class V1Beta1GenerateServiceIdentityResponse
|
|
3816
|
+
include Google::Apis::Core::Hashable
|
|
3817
|
+
|
|
3818
|
+
# A service identity in the Identity and Access Management API.
|
|
3819
|
+
# Corresponds to the JSON property `identity`
|
|
3820
|
+
# @return [Google::Apis::ServiceconsumermanagementV1::V1Beta1ServiceIdentity]
|
|
3821
|
+
attr_accessor :identity
|
|
3822
|
+
|
|
3823
|
+
def initialize(**args)
|
|
3824
|
+
update!(**args)
|
|
3825
|
+
end
|
|
3826
|
+
|
|
3827
|
+
# Update properties of this object
|
|
3828
|
+
def update!(**args)
|
|
3829
|
+
@identity = args[:identity] if args.key?(:identity)
|
|
3830
|
+
end
|
|
3831
|
+
end
|
|
3832
|
+
|
|
3812
3833
|
# Response message for ImportProducerOverrides
|
|
3813
3834
|
class V1Beta1ImportProducerOverridesResponse
|
|
3814
3835
|
include Google::Apis::Core::Hashable
|
|
@@ -3912,6 +3933,48 @@ module Google
|
|
|
3912
3933
|
end
|
|
3913
3934
|
end
|
|
3914
3935
|
|
|
3936
|
+
# A service identity in the Identity and Access Management API.
|
|
3937
|
+
class V1Beta1ServiceIdentity
|
|
3938
|
+
include Google::Apis::Core::Hashable
|
|
3939
|
+
|
|
3940
|
+
# The email address of the service identity.
|
|
3941
|
+
# Corresponds to the JSON property `email`
|
|
3942
|
+
# @return [String]
|
|
3943
|
+
attr_accessor :email
|
|
3944
|
+
|
|
3945
|
+
# P4 service identity resource name.
|
|
3946
|
+
# An example name would be:
|
|
3947
|
+
# `services/serviceconsumermanagement.googleapis.com/projects/123/
|
|
3948
|
+
# serviceIdentities/default`
|
|
3949
|
+
# Corresponds to the JSON property `name`
|
|
3950
|
+
# @return [String]
|
|
3951
|
+
attr_accessor :name
|
|
3952
|
+
|
|
3953
|
+
# The P4 service identity configuration tag. This must be defined in
|
|
3954
|
+
# activation_grants. If not specified when creating the account, the tag is
|
|
3955
|
+
# set to "default".
|
|
3956
|
+
# Corresponds to the JSON property `tag`
|
|
3957
|
+
# @return [String]
|
|
3958
|
+
attr_accessor :tag
|
|
3959
|
+
|
|
3960
|
+
# The unique and stable id of the service identity.
|
|
3961
|
+
# Corresponds to the JSON property `uniqueId`
|
|
3962
|
+
# @return [String]
|
|
3963
|
+
attr_accessor :unique_id
|
|
3964
|
+
|
|
3965
|
+
def initialize(**args)
|
|
3966
|
+
update!(**args)
|
|
3967
|
+
end
|
|
3968
|
+
|
|
3969
|
+
# Update properties of this object
|
|
3970
|
+
def update!(**args)
|
|
3971
|
+
@email = args[:email] if args.key?(:email)
|
|
3972
|
+
@name = args[:name] if args.key?(:name)
|
|
3973
|
+
@tag = args[:tag] if args.key?(:tag)
|
|
3974
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
|
3975
|
+
end
|
|
3976
|
+
end
|
|
3977
|
+
|
|
3915
3978
|
# Response message for the `DisableConsumer` method.
|
|
3916
3979
|
# This response message is assigned to the `response` field of the returned
|
|
3917
3980
|
# Operation when that operation is done.
|
|
@@ -466,6 +466,12 @@ module Google
|
|
|
466
466
|
include Google::Apis::Core::JsonObjectSupport
|
|
467
467
|
end
|
|
468
468
|
|
|
469
|
+
class V1Beta1GenerateServiceIdentityResponse
|
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
|
+
|
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
473
|
+
end
|
|
474
|
+
|
|
469
475
|
class V1Beta1ImportProducerOverridesResponse
|
|
470
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
477
|
|
|
@@ -484,6 +490,12 @@ module Google
|
|
|
484
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
491
|
end
|
|
486
492
|
|
|
493
|
+
class V1Beta1ServiceIdentity
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
487
499
|
class V1DisableConsumerResponse
|
|
488
500
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
501
|
|
|
@@ -1284,6 +1296,14 @@ module Google
|
|
|
1284
1296
|
end
|
|
1285
1297
|
end
|
|
1286
1298
|
|
|
1299
|
+
class V1Beta1GenerateServiceIdentityResponse
|
|
1300
|
+
# @private
|
|
1301
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1302
|
+
property :identity, as: 'identity', class: Google::Apis::ServiceconsumermanagementV1::V1Beta1ServiceIdentity, decorator: Google::Apis::ServiceconsumermanagementV1::V1Beta1ServiceIdentity::Representation
|
|
1303
|
+
|
|
1304
|
+
end
|
|
1305
|
+
end
|
|
1306
|
+
|
|
1287
1307
|
class V1Beta1ImportProducerOverridesResponse
|
|
1288
1308
|
# @private
|
|
1289
1309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1309,6 +1329,16 @@ module Google
|
|
|
1309
1329
|
end
|
|
1310
1330
|
end
|
|
1311
1331
|
|
|
1332
|
+
class V1Beta1ServiceIdentity
|
|
1333
|
+
# @private
|
|
1334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1335
|
+
property :email, as: 'email'
|
|
1336
|
+
property :name, as: 'name'
|
|
1337
|
+
property :tag, as: 'tag'
|
|
1338
|
+
property :unique_id, as: 'uniqueId'
|
|
1339
|
+
end
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1312
1342
|
class V1DisableConsumerResponse
|
|
1313
1343
|
# @private
|
|
1314
1344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
|
26
26
|
module ServiceconsumermanagementV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191004'
|
|
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'
|
|
@@ -1453,16 +1453,6 @@ module Google
|
|
|
1453
1453
|
# @return [Google::Apis::ServicecontrolV1::QuotaProperties]
|
|
1454
1454
|
attr_accessor :quota_properties
|
|
1455
1455
|
|
|
1456
|
-
# DO NOT USE. This field is deprecated, use "resources" field instead.
|
|
1457
|
-
# The resource name of the parent of a resource in the resource hierarchy.
|
|
1458
|
-
# This can be in one of the following formats:
|
|
1459
|
-
# - “projects/<project-id or project-number>”
|
|
1460
|
-
# - “folders/<folder-id>”
|
|
1461
|
-
# - “organizations/<organization-id>”
|
|
1462
|
-
# Corresponds to the JSON property `resourceContainer`
|
|
1463
|
-
# @return [String]
|
|
1464
|
-
attr_accessor :resource_container
|
|
1465
|
-
|
|
1466
1456
|
# The resources that are involved in the operation.
|
|
1467
1457
|
# The maximum supported number of entries in this field is 100.
|
|
1468
1458
|
# Corresponds to the JSON property `resources`
|
|
@@ -1496,7 +1486,6 @@ module Google
|
|
|
1496
1486
|
@operation_id = args[:operation_id] if args.key?(:operation_id)
|
|
1497
1487
|
@operation_name = args[:operation_name] if args.key?(:operation_name)
|
|
1498
1488
|
@quota_properties = args[:quota_properties] if args.key?(:quota_properties)
|
|
1499
|
-
@resource_container = args[:resource_container] if args.key?(:resource_container)
|
|
1500
1489
|
@resources = args[:resources] if args.key?(:resources)
|
|
1501
1490
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1502
1491
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|