google-api-client 0.45.0 → 0.45.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 +56 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +0 -6
- data/generated/google/apis/apigee_v1/representations.rb +0 -1
- data/generated/google/apis/apigee_v1/service.rb +1 -5
- 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 +22 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +76 -2
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -34
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +185 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +164 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/service.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +73 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +73 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +51 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +6 -6
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +142 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +26 -0
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1014 -16
- data/generated/google/apis/healthcare_v1beta1/representations.rb +453 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1226 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +8 -6
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +0 -124
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -2
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +1 -2
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +83 -52
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +33 -17
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +4 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/
|
26
26
|
module OsloginV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200919'
|
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'
|
@@ -39,7 +39,7 @@ module Google
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
# A response message
|
42
|
+
# A response message for importing an SSH public key.
|
43
43
|
class ImportSshPublicKeyResponse
|
44
44
|
include Google::Apis::Core::Hashable
|
45
45
|
|
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
class LoginProfile
|
71
71
|
include Google::Apis::Core::Hashable
|
72
72
|
|
73
|
-
# A unique user ID.
|
73
|
+
# Required. A unique user ID.
|
74
74
|
# Corresponds to the JSON property `name`
|
75
75
|
# @return [String]
|
76
76
|
attr_accessor :name
|
@@ -50,7 +50,7 @@ module Google
|
|
50
50
|
# Retrieves the profile information used for logging in to a virtual machine on
|
51
51
|
# Google Compute Engine.
|
52
52
|
# @param [String] name
|
53
|
-
# The unique ID for the user in format `users/`user``.
|
53
|
+
# Required. The unique ID for the user in format `users/`user``.
|
54
54
|
# @param [String] operating_system_type
|
55
55
|
# The type of operating system associated with the account.
|
56
56
|
# @param [String] project_id
|
@@ -127,9 +127,9 @@ module Google
|
|
127
127
|
|
128
128
|
# Deletes a POSIX account.
|
129
129
|
# @param [String] name
|
130
|
-
# A reference to the POSIX account to update. POSIX accounts are
|
131
|
-
# the project ID they are associated with. A reference to the
|
132
|
-
# in format `users/`user`/projects/`project``.
|
130
|
+
# Required. A reference to the POSIX account to update. POSIX accounts are
|
131
|
+
# identified by the project ID they are associated with. A reference to the
|
132
|
+
# POSIX account is in format `users/`user`/projects/`project``.
|
133
133
|
# @param [String] operating_system_type
|
134
134
|
# The type of operating system associated with the account.
|
135
135
|
# @param [String] fields
|
@@ -162,9 +162,9 @@ module Google
|
|
162
162
|
|
163
163
|
# Deletes an SSH public key.
|
164
164
|
# @param [String] name
|
165
|
-
# The fingerprint of the public key to update. Public keys are
|
166
|
-
# their SHA-256 fingerprint. The fingerprint of the public key is
|
167
|
-
# users/`user`/sshPublicKeys/`fingerprint``.
|
165
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
166
|
+
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
|
167
|
+
# in format `users/`user`/sshPublicKeys/`fingerprint``.
|
168
168
|
# @param [String] fields
|
169
169
|
# Selector specifying which fields to include in a partial response.
|
170
170
|
# @param [String] quota_user
|
@@ -194,9 +194,9 @@ module Google
|
|
194
194
|
|
195
195
|
# Retrieves an SSH public key.
|
196
196
|
# @param [String] name
|
197
|
-
# The fingerprint of the public key to retrieve. Public keys are
|
198
|
-
# their SHA-256 fingerprint. The fingerprint of the public key is
|
199
|
-
# users/`user`/sshPublicKeys/`fingerprint``.
|
197
|
+
# Required. The fingerprint of the public key to retrieve. Public keys are
|
198
|
+
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
|
199
|
+
# in format `users/`user`/sshPublicKeys/`fingerprint``.
|
200
200
|
# @param [String] fields
|
201
201
|
# Selector specifying which fields to include in a partial response.
|
202
202
|
# @param [String] quota_user
|
@@ -227,9 +227,9 @@ module Google
|
|
227
227
|
# Updates an SSH public key and returns the profile information. This method
|
228
228
|
# supports patch semantics.
|
229
229
|
# @param [String] name
|
230
|
-
# The fingerprint of the public key to update. Public keys are
|
231
|
-
# their SHA-256 fingerprint. The fingerprint of the public key is
|
232
|
-
# users/`user`/sshPublicKeys/`fingerprint``.
|
230
|
+
# Required. The fingerprint of the public key to update. Public keys are
|
231
|
+
# identified by their SHA-256 fingerprint. The fingerprint of the public key is
|
232
|
+
# in format `users/`user`/sshPublicKeys/`fingerprint``.
|
233
233
|
# @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
|
234
234
|
# @param [String] update_mask
|
235
235
|
# Mask to control which fields get updated. Updates all if not present.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/people/
|
26
26
|
module PeopleV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200923'
|
29
29
|
|
30
30
|
# See, edit, download, and permanently delete your contacts
|
31
31
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
@@ -574,12 +574,14 @@ module Google
|
|
574
574
|
# Each path should start with `person.`: for example, `person.names` or `person.
|
575
575
|
# photos`.
|
576
576
|
# @param [Array<String>, String] resource_names
|
577
|
-
# Required. The resource names of the people to provide information about.
|
578
|
-
#
|
579
|
-
#
|
580
|
-
# information about a
|
581
|
-
#
|
582
|
-
#
|
577
|
+
# Required. The resource names of the people to provide information about. It's
|
578
|
+
# repeatable. The URL query parameter should be resourceNames=<name1>&
|
579
|
+
# resourceNames=<name2>&... - To get information about the authenticated user,
|
580
|
+
# specify `people/me`. - To get information about a google account, specify `
|
581
|
+
# people/`account_id``. - To get information about a contact, specify the
|
582
|
+
# resource name that identifies the contact as returned by [`people.connections.
|
583
|
+
# list`](/people/api/rest/v1/people.connections/list). You can include up to 50
|
584
|
+
# resource names in one request.
|
583
585
|
# @param [Array<String>, String] sources
|
584
586
|
# Optional. A mask of what source types to return. Defaults to ReadSourceType.
|
585
587
|
# CONTACT and ReadSourceType.PROFILE if not set.
|
@@ -28,7 +28,7 @@ module Google
|
|
28
28
|
# @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
|
29
29
|
module RealtimebiddingV1
|
30
30
|
VERSION = 'V1'
|
31
|
-
REVISION = '
|
31
|
+
REVISION = '20200922'
|
32
32
|
|
33
33
|
# See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
|
34
34
|
AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'
|
@@ -213,10 +213,10 @@ module Google
|
|
213
213
|
# @return [Array<String>]
|
214
214
|
attr_accessor :impression_tracking_urls
|
215
215
|
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
216
|
+
# Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
|
217
|
+
# , where ``buyer`` represents the account ID of the buyer who owns the creative,
|
218
|
+
# and ``creative`` is the buyer-specific creative ID that references this
|
219
|
+
# creative in the bid response.
|
220
220
|
# Corresponds to the JSON property `name`
|
221
221
|
# @return [String]
|
222
222
|
attr_accessor :name
|
@@ -327,7 +327,10 @@ module Google
|
|
327
327
|
|
328
328
|
# Updates a creative.
|
329
329
|
# @param [String] name
|
330
|
-
# Name of the creative
|
330
|
+
# Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
|
331
|
+
# , where ``buyer`` represents the account ID of the buyer who owns the creative,
|
332
|
+
# and ``creative`` is the buyer-specific creative ID that references this
|
333
|
+
# creative in the bid response.
|
331
334
|
# @param [Google::Apis::RealtimebiddingV1::Creative] creative_object
|
332
335
|
# @param [String] update_mask
|
333
336
|
# Field mask to use for partial in-place updates.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/run/
|
27
27
|
module RunV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200918'
|
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'
|
@@ -1528,84 +1528,6 @@ module Google
|
|
1528
1528
|
end
|
1529
1529
|
end
|
1530
1530
|
|
1531
|
-
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Namespace
|
1532
|
-
# provides a scope for Names. Use of multiple namespaces is optional.
|
1533
|
-
class Namespace
|
1534
|
-
include Google::Apis::Core::Hashable
|
1535
|
-
|
1536
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
1537
|
-
# resources must have, which includes all objects users must create.
|
1538
|
-
# Corresponds to the JSON property `metadata`
|
1539
|
-
# @return [Google::Apis::RunV1::ObjectMeta]
|
1540
|
-
attr_accessor :metadata
|
1541
|
-
|
1542
|
-
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1543
|
-
# NamespaceSpec describes the attributes on a Namespace.
|
1544
|
-
# Corresponds to the JSON property `spec`
|
1545
|
-
# @return [Google::Apis::RunV1::NamespaceSpec]
|
1546
|
-
attr_accessor :spec
|
1547
|
-
|
1548
|
-
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1549
|
-
# NamespaceStatus is information about the current status of a Namespace.
|
1550
|
-
# Corresponds to the JSON property `status`
|
1551
|
-
# @return [Google::Apis::RunV1::NamespaceStatus]
|
1552
|
-
attr_accessor :status
|
1553
|
-
|
1554
|
-
def initialize(**args)
|
1555
|
-
update!(**args)
|
1556
|
-
end
|
1557
|
-
|
1558
|
-
# Update properties of this object
|
1559
|
-
def update!(**args)
|
1560
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1561
|
-
@spec = args[:spec] if args.key?(:spec)
|
1562
|
-
@status = args[:status] if args.key?(:status)
|
1563
|
-
end
|
1564
|
-
end
|
1565
|
-
|
1566
|
-
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1567
|
-
# NamespaceSpec describes the attributes on a Namespace.
|
1568
|
-
class NamespaceSpec
|
1569
|
-
include Google::Apis::Core::Hashable
|
1570
|
-
|
1571
|
-
# Finalizers is an opaque list of values that must be empty to permanently
|
1572
|
-
# remove object from storage. More info: https://kubernetes.io/docs/tasks/
|
1573
|
-
# administer-cluster/namespaces/
|
1574
|
-
# Corresponds to the JSON property `finalizers`
|
1575
|
-
# @return [Array<String>]
|
1576
|
-
attr_accessor :finalizers
|
1577
|
-
|
1578
|
-
def initialize(**args)
|
1579
|
-
update!(**args)
|
1580
|
-
end
|
1581
|
-
|
1582
|
-
# Update properties of this object
|
1583
|
-
def update!(**args)
|
1584
|
-
@finalizers = args[:finalizers] if args.key?(:finalizers)
|
1585
|
-
end
|
1586
|
-
end
|
1587
|
-
|
1588
|
-
# Cloud Run fully managed: not supported Cloud Run on GKE: supported
|
1589
|
-
# NamespaceStatus is information about the current status of a Namespace.
|
1590
|
-
class NamespaceStatus
|
1591
|
-
include Google::Apis::Core::Hashable
|
1592
|
-
|
1593
|
-
# Phase is the current lifecycle phase of the namespace. More info: https://
|
1594
|
-
# kubernetes.io/docs/tasks/administer-cluster/namespaces/
|
1595
|
-
# Corresponds to the JSON property `phase`
|
1596
|
-
# @return [String]
|
1597
|
-
attr_accessor :phase
|
1598
|
-
|
1599
|
-
def initialize(**args)
|
1600
|
-
update!(**args)
|
1601
|
-
end
|
1602
|
-
|
1603
|
-
# Update properties of this object
|
1604
|
-
def update!(**args)
|
1605
|
-
@phase = args[:phase] if args.key?(:phase)
|
1606
|
-
end
|
1607
|
-
end
|
1608
|
-
|
1609
1531
|
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
1610
1532
|
# resources must have, which includes all objects users must create.
|
1611
1533
|
class ObjectMeta
|
@@ -2401,52 +2323,6 @@ module Google
|
|
2401
2323
|
end
|
2402
2324
|
end
|
2403
2325
|
|
2404
|
-
# Cloud Run fully managed: not supported Cloud Run on GKE: supported Secret
|
2405
|
-
# holds secret data of a certain type. The total bytes of the values in the Data
|
2406
|
-
# field must be less than MaxSecretSize bytes.
|
2407
|
-
class Secret
|
2408
|
-
include Google::Apis::Core::Hashable
|
2409
|
-
|
2410
|
-
# Data contains the secret data. Each key must consist of alphanumeric
|
2411
|
-
# characters, '-', '_' or '.'. The serialized form of the secret data is a
|
2412
|
-
# base64 encoded string, representing the arbitrary (possibly non-string) data
|
2413
|
-
# value here. Described in https://tools.ietf.org/html/rfc4648#section-4
|
2414
|
-
# Corresponds to the JSON property `data`
|
2415
|
-
# @return [Hash<String,String>]
|
2416
|
-
attr_accessor :data
|
2417
|
-
|
2418
|
-
# k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted
|
2419
|
-
# resources must have, which includes all objects users must create.
|
2420
|
-
# Corresponds to the JSON property `metadata`
|
2421
|
-
# @return [Google::Apis::RunV1::ObjectMeta]
|
2422
|
-
attr_accessor :metadata
|
2423
|
-
|
2424
|
-
# stringData allows specifying non-binary secret data in string form. It is
|
2425
|
-
# provided as a write-only convenience method. All keys and values are merged
|
2426
|
-
# into the data field on write, overwriting any existing values. It is never
|
2427
|
-
# output when reading from the API. +k8s:conversion-gen=false
|
2428
|
-
# Corresponds to the JSON property `stringData`
|
2429
|
-
# @return [Hash<String,String>]
|
2430
|
-
attr_accessor :string_data
|
2431
|
-
|
2432
|
-
# Used to facilitate programmatic handling of secret data.
|
2433
|
-
# Corresponds to the JSON property `type`
|
2434
|
-
# @return [String]
|
2435
|
-
attr_accessor :type
|
2436
|
-
|
2437
|
-
def initialize(**args)
|
2438
|
-
update!(**args)
|
2439
|
-
end
|
2440
|
-
|
2441
|
-
# Update properties of this object
|
2442
|
-
def update!(**args)
|
2443
|
-
@data = args[:data] if args.key?(:data)
|
2444
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
2445
|
-
@string_data = args[:string_data] if args.key?(:string_data)
|
2446
|
-
@type = args[:type] if args.key?(:type)
|
2447
|
-
end
|
2448
|
-
end
|
2449
|
-
|
2450
2326
|
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported
|
2451
2327
|
# SecretEnvSource selects a Secret to populate the environment variables with.
|
2452
2328
|
# The contents of the target Secret's Data field will represent the key-value
|
@@ -232,24 +232,6 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
-
class Namespace
|
236
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
-
|
238
|
-
include Google::Apis::Core::JsonObjectSupport
|
239
|
-
end
|
240
|
-
|
241
|
-
class NamespaceSpec
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
|
-
class NamespaceStatus
|
248
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
-
|
250
|
-
include Google::Apis::Core::JsonObjectSupport
|
251
|
-
end
|
252
|
-
|
253
235
|
class ObjectMeta
|
254
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
237
|
|
@@ -328,12 +310,6 @@ module Google
|
|
328
310
|
include Google::Apis::Core::JsonObjectSupport
|
329
311
|
end
|
330
312
|
|
331
|
-
class Secret
|
332
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
-
|
334
|
-
include Google::Apis::Core::JsonObjectSupport
|
335
|
-
end
|
336
|
-
|
337
313
|
class SecretEnvSource
|
338
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
315
|
|
@@ -816,32 +792,6 @@ module Google
|
|
816
792
|
end
|
817
793
|
end
|
818
794
|
|
819
|
-
class Namespace
|
820
|
-
# @private
|
821
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
822
|
-
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
|
823
|
-
|
824
|
-
property :spec, as: 'spec', class: Google::Apis::RunV1::NamespaceSpec, decorator: Google::Apis::RunV1::NamespaceSpec::Representation
|
825
|
-
|
826
|
-
property :status, as: 'status', class: Google::Apis::RunV1::NamespaceStatus, decorator: Google::Apis::RunV1::NamespaceStatus::Representation
|
827
|
-
|
828
|
-
end
|
829
|
-
end
|
830
|
-
|
831
|
-
class NamespaceSpec
|
832
|
-
# @private
|
833
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
834
|
-
collection :finalizers, as: 'finalizers'
|
835
|
-
end
|
836
|
-
end
|
837
|
-
|
838
|
-
class NamespaceStatus
|
839
|
-
# @private
|
840
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
841
|
-
property :phase, as: 'phase'
|
842
|
-
end
|
843
|
-
end
|
844
|
-
|
845
795
|
class ObjectMeta
|
846
796
|
# @private
|
847
797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1007,17 +957,6 @@ module Google
|
|
1007
957
|
end
|
1008
958
|
end
|
1009
959
|
|
1010
|
-
class Secret
|
1011
|
-
# @private
|
1012
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1013
|
-
hash :data, as: 'data'
|
1014
|
-
property :metadata, as: 'metadata', class: Google::Apis::RunV1::ObjectMeta, decorator: Google::Apis::RunV1::ObjectMeta::Representation
|
1015
|
-
|
1016
|
-
hash :string_data, as: 'stringData'
|
1017
|
-
property :type, as: 'type'
|
1018
|
-
end
|
1019
|
-
end
|
1020
|
-
|
1021
960
|
class SecretEnvSource
|
1022
961
|
# @private
|
1023
962
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -48,177 +48,6 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Rpc to get information about a namespace.
|
52
|
-
# @param [String] name
|
53
|
-
# Required. The name of the namespace being retrieved. If needed, replace `
|
54
|
-
# namespace_id` with the project ID.
|
55
|
-
# @param [String] fields
|
56
|
-
# Selector specifying which fields to include in a partial response.
|
57
|
-
# @param [String] quota_user
|
58
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
-
# @param [Google::Apis::RequestOptions] options
|
61
|
-
# Request-specific options
|
62
|
-
#
|
63
|
-
# @yield [result, err] Result & error if block supplied
|
64
|
-
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
|
65
|
-
# @yieldparam err [StandardError] error object if request failed
|
66
|
-
#
|
67
|
-
# @return [Google::Apis::RunV1::Namespace]
|
68
|
-
#
|
69
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
|
-
def get_api_v1_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
73
|
-
command = make_simple_command(:get, 'api/v1/{+name}', options)
|
74
|
-
command.response_representation = Google::Apis::RunV1::Namespace::Representation
|
75
|
-
command.response_class = Google::Apis::RunV1::Namespace
|
76
|
-
command.params['name'] = name unless name.nil?
|
77
|
-
command.query['fields'] = fields unless fields.nil?
|
78
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
79
|
-
execute_or_queue_command(command, &block)
|
80
|
-
end
|
81
|
-
|
82
|
-
# Rpc to update a namespace.
|
83
|
-
# @param [String] name
|
84
|
-
# Required. The name of the namespace being retrieved. If needed, replace `
|
85
|
-
# namespace_id` with the project ID.
|
86
|
-
# @param [Google::Apis::RunV1::Namespace] namespace_object
|
87
|
-
# @param [String] update_mask
|
88
|
-
# Required. Indicates which fields in the provided namespace to update. This
|
89
|
-
# field is currently unused.
|
90
|
-
# @param [String] fields
|
91
|
-
# Selector specifying which fields to include in a partial response.
|
92
|
-
# @param [String] quota_user
|
93
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
94
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
95
|
-
# @param [Google::Apis::RequestOptions] options
|
96
|
-
# Request-specific options
|
97
|
-
#
|
98
|
-
# @yield [result, err] Result & error if block supplied
|
99
|
-
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
|
100
|
-
# @yieldparam err [StandardError] error object if request failed
|
101
|
-
#
|
102
|
-
# @return [Google::Apis::RunV1::Namespace]
|
103
|
-
#
|
104
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
105
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
|
-
def patch_api_v1_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
-
command = make_simple_command(:patch, 'api/v1/{+name}', options)
|
109
|
-
command.request_representation = Google::Apis::RunV1::Namespace::Representation
|
110
|
-
command.request_object = namespace_object
|
111
|
-
command.response_representation = Google::Apis::RunV1::Namespace::Representation
|
112
|
-
command.response_class = Google::Apis::RunV1::Namespace
|
113
|
-
command.params['name'] = name unless name.nil?
|
114
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
115
|
-
command.query['fields'] = fields unless fields.nil?
|
116
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
-
execute_or_queue_command(command, &block)
|
118
|
-
end
|
119
|
-
|
120
|
-
# Creates a new secret.
|
121
|
-
# @param [String] parent
|
122
|
-
# Required. The project ID or project number in which this secret should be
|
123
|
-
# created.
|
124
|
-
# @param [Google::Apis::RunV1::Secret] secret_object
|
125
|
-
# @param [String] fields
|
126
|
-
# Selector specifying which fields to include in a partial response.
|
127
|
-
# @param [String] quota_user
|
128
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
129
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
130
|
-
# @param [Google::Apis::RequestOptions] options
|
131
|
-
# Request-specific options
|
132
|
-
#
|
133
|
-
# @yield [result, err] Result & error if block supplied
|
134
|
-
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
|
135
|
-
# @yieldparam err [StandardError] error object if request failed
|
136
|
-
#
|
137
|
-
# @return [Google::Apis::RunV1::Secret]
|
138
|
-
#
|
139
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
140
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
141
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
142
|
-
def create_api_v1_namespace_secret(parent, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
143
|
-
command = make_simple_command(:post, 'api/v1/{+parent}/secrets', options)
|
144
|
-
command.request_representation = Google::Apis::RunV1::Secret::Representation
|
145
|
-
command.request_object = secret_object
|
146
|
-
command.response_representation = Google::Apis::RunV1::Secret::Representation
|
147
|
-
command.response_class = Google::Apis::RunV1::Secret
|
148
|
-
command.params['parent'] = parent unless parent.nil?
|
149
|
-
command.query['fields'] = fields unless fields.nil?
|
150
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
-
execute_or_queue_command(command, &block)
|
152
|
-
end
|
153
|
-
|
154
|
-
# Rpc to get information about a secret.
|
155
|
-
# @param [String] name
|
156
|
-
# Required. The name of the secret being retrieved. If needed, replace `
|
157
|
-
# namespace_id` with the project ID.
|
158
|
-
# @param [String] fields
|
159
|
-
# Selector specifying which fields to include in a partial response.
|
160
|
-
# @param [String] quota_user
|
161
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
162
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
163
|
-
# @param [Google::Apis::RequestOptions] options
|
164
|
-
# Request-specific options
|
165
|
-
#
|
166
|
-
# @yield [result, err] Result & error if block supplied
|
167
|
-
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
|
168
|
-
# @yieldparam err [StandardError] error object if request failed
|
169
|
-
#
|
170
|
-
# @return [Google::Apis::RunV1::Secret]
|
171
|
-
#
|
172
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
173
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
174
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
175
|
-
def get_api_v1_namespace_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
176
|
-
command = make_simple_command(:get, 'api/v1/{+name}', options)
|
177
|
-
command.response_representation = Google::Apis::RunV1::Secret::Representation
|
178
|
-
command.response_class = Google::Apis::RunV1::Secret
|
179
|
-
command.params['name'] = name unless name.nil?
|
180
|
-
command.query['fields'] = fields unless fields.nil?
|
181
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
182
|
-
execute_or_queue_command(command, &block)
|
183
|
-
end
|
184
|
-
|
185
|
-
# Rpc to replace a secret. Only the spec and metadata labels and annotations are
|
186
|
-
# modifiable. After the Update request, Cloud Run will work to make the 'status'
|
187
|
-
# match the requested 'spec'. May provide metadata.resourceVersion to enforce
|
188
|
-
# update from last read for optimistic concurrency control.
|
189
|
-
# @param [String] name
|
190
|
-
# Required. The name of the secret being retrieved. If needed, replace `
|
191
|
-
# namespace_id` with the project ID.
|
192
|
-
# @param [Google::Apis::RunV1::Secret] secret_object
|
193
|
-
# @param [String] fields
|
194
|
-
# Selector specifying which fields to include in a partial response.
|
195
|
-
# @param [String] quota_user
|
196
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
197
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
|
-
# @param [Google::Apis::RequestOptions] options
|
199
|
-
# Request-specific options
|
200
|
-
#
|
201
|
-
# @yield [result, err] Result & error if block supplied
|
202
|
-
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
|
203
|
-
# @yieldparam err [StandardError] error object if request failed
|
204
|
-
#
|
205
|
-
# @return [Google::Apis::RunV1::Secret]
|
206
|
-
#
|
207
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
-
def replace_api_v1_namespace_secret_secret(name, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
-
command = make_simple_command(:put, 'api/v1/{+name}', options)
|
212
|
-
command.request_representation = Google::Apis::RunV1::Secret::Representation
|
213
|
-
command.request_object = secret_object
|
214
|
-
command.response_representation = Google::Apis::RunV1::Secret::Representation
|
215
|
-
command.response_class = Google::Apis::RunV1::Secret
|
216
|
-
command.params['name'] = name unless name.nil?
|
217
|
-
command.query['fields'] = fields unless fields.nil?
|
218
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
219
|
-
execute_or_queue_command(command, &block)
|
220
|
-
end
|
221
|
-
|
222
51
|
# List authorized domains.
|
223
52
|
# @param [String] parent
|
224
53
|
# Name of the parent Project resource. Example: `projects/myproject`.
|
@@ -1290,75 +1119,6 @@ module Google
|
|
1290
1119
|
execute_or_queue_command(command, &block)
|
1291
1120
|
end
|
1292
1121
|
|
1293
|
-
# Rpc to get information about a namespace.
|
1294
|
-
# @param [String] name
|
1295
|
-
# Required. The name of the namespace being retrieved. If needed, replace `
|
1296
|
-
# namespace_id` with the project ID.
|
1297
|
-
# @param [String] fields
|
1298
|
-
# Selector specifying which fields to include in a partial response.
|
1299
|
-
# @param [String] quota_user
|
1300
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1301
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1302
|
-
# @param [Google::Apis::RequestOptions] options
|
1303
|
-
# Request-specific options
|
1304
|
-
#
|
1305
|
-
# @yield [result, err] Result & error if block supplied
|
1306
|
-
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
|
1307
|
-
# @yieldparam err [StandardError] error object if request failed
|
1308
|
-
#
|
1309
|
-
# @return [Google::Apis::RunV1::Namespace]
|
1310
|
-
#
|
1311
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1312
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1313
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1314
|
-
def get_project_location_namespace(name, fields: nil, quota_user: nil, options: nil, &block)
|
1315
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1316
|
-
command.response_representation = Google::Apis::RunV1::Namespace::Representation
|
1317
|
-
command.response_class = Google::Apis::RunV1::Namespace
|
1318
|
-
command.params['name'] = name unless name.nil?
|
1319
|
-
command.query['fields'] = fields unless fields.nil?
|
1320
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1321
|
-
execute_or_queue_command(command, &block)
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
# Rpc to update a namespace.
|
1325
|
-
# @param [String] name
|
1326
|
-
# Required. The name of the namespace being retrieved. If needed, replace `
|
1327
|
-
# namespace_id` with the project ID.
|
1328
|
-
# @param [Google::Apis::RunV1::Namespace] namespace_object
|
1329
|
-
# @param [String] update_mask
|
1330
|
-
# Required. Indicates which fields in the provided namespace to update. This
|
1331
|
-
# field is currently unused.
|
1332
|
-
# @param [String] fields
|
1333
|
-
# Selector specifying which fields to include in a partial response.
|
1334
|
-
# @param [String] quota_user
|
1335
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1336
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1337
|
-
# @param [Google::Apis::RequestOptions] options
|
1338
|
-
# Request-specific options
|
1339
|
-
#
|
1340
|
-
# @yield [result, err] Result & error if block supplied
|
1341
|
-
# @yieldparam result [Google::Apis::RunV1::Namespace] parsed result object
|
1342
|
-
# @yieldparam err [StandardError] error object if request failed
|
1343
|
-
#
|
1344
|
-
# @return [Google::Apis::RunV1::Namespace]
|
1345
|
-
#
|
1346
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1347
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1348
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1349
|
-
def patch_project_location_namespace(name, namespace_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1350
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1351
|
-
command.request_representation = Google::Apis::RunV1::Namespace::Representation
|
1352
|
-
command.request_object = namespace_object
|
1353
|
-
command.response_representation = Google::Apis::RunV1::Namespace::Representation
|
1354
|
-
command.response_class = Google::Apis::RunV1::Namespace
|
1355
|
-
command.params['name'] = name unless name.nil?
|
1356
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1357
|
-
command.query['fields'] = fields unless fields.nil?
|
1358
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1359
|
-
execute_or_queue_command(command, &block)
|
1360
|
-
end
|
1361
|
-
|
1362
1122
|
# Delete a revision.
|
1363
1123
|
# @param [String] name
|
1364
1124
|
# The name of the revision to delete. For Cloud Run (fully managed), replace `
|
@@ -1577,108 +1337,6 @@ module Google
|
|
1577
1337
|
execute_or_queue_command(command, &block)
|
1578
1338
|
end
|
1579
1339
|
|
1580
|
-
# Creates a new secret.
|
1581
|
-
# @param [String] parent
|
1582
|
-
# Required. The project ID or project number in which this secret should be
|
1583
|
-
# created.
|
1584
|
-
# @param [Google::Apis::RunV1::Secret] secret_object
|
1585
|
-
# @param [String] fields
|
1586
|
-
# Selector specifying which fields to include in a partial response.
|
1587
|
-
# @param [String] quota_user
|
1588
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1589
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1590
|
-
# @param [Google::Apis::RequestOptions] options
|
1591
|
-
# Request-specific options
|
1592
|
-
#
|
1593
|
-
# @yield [result, err] Result & error if block supplied
|
1594
|
-
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
|
1595
|
-
# @yieldparam err [StandardError] error object if request failed
|
1596
|
-
#
|
1597
|
-
# @return [Google::Apis::RunV1::Secret]
|
1598
|
-
#
|
1599
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1600
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1601
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1602
|
-
def create_project_location_secret(parent, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1603
|
-
command = make_simple_command(:post, 'v1/{+parent}/secrets', options)
|
1604
|
-
command.request_representation = Google::Apis::RunV1::Secret::Representation
|
1605
|
-
command.request_object = secret_object
|
1606
|
-
command.response_representation = Google::Apis::RunV1::Secret::Representation
|
1607
|
-
command.response_class = Google::Apis::RunV1::Secret
|
1608
|
-
command.params['parent'] = parent unless parent.nil?
|
1609
|
-
command.query['fields'] = fields unless fields.nil?
|
1610
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1611
|
-
execute_or_queue_command(command, &block)
|
1612
|
-
end
|
1613
|
-
|
1614
|
-
# Rpc to get information about a secret.
|
1615
|
-
# @param [String] name
|
1616
|
-
# Required. The name of the secret being retrieved. If needed, replace `
|
1617
|
-
# namespace_id` with the project ID.
|
1618
|
-
# @param [String] fields
|
1619
|
-
# Selector specifying which fields to include in a partial response.
|
1620
|
-
# @param [String] quota_user
|
1621
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1622
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1623
|
-
# @param [Google::Apis::RequestOptions] options
|
1624
|
-
# Request-specific options
|
1625
|
-
#
|
1626
|
-
# @yield [result, err] Result & error if block supplied
|
1627
|
-
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
|
1628
|
-
# @yieldparam err [StandardError] error object if request failed
|
1629
|
-
#
|
1630
|
-
# @return [Google::Apis::RunV1::Secret]
|
1631
|
-
#
|
1632
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1633
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1634
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1635
|
-
def get_project_location_secret(name, fields: nil, quota_user: nil, options: nil, &block)
|
1636
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1637
|
-
command.response_representation = Google::Apis::RunV1::Secret::Representation
|
1638
|
-
command.response_class = Google::Apis::RunV1::Secret
|
1639
|
-
command.params['name'] = name unless name.nil?
|
1640
|
-
command.query['fields'] = fields unless fields.nil?
|
1641
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1642
|
-
execute_or_queue_command(command, &block)
|
1643
|
-
end
|
1644
|
-
|
1645
|
-
# Rpc to replace a secret. Only the spec and metadata labels and annotations are
|
1646
|
-
# modifiable. After the Update request, Cloud Run will work to make the 'status'
|
1647
|
-
# match the requested 'spec'. May provide metadata.resourceVersion to enforce
|
1648
|
-
# update from last read for optimistic concurrency control.
|
1649
|
-
# @param [String] name
|
1650
|
-
# Required. The name of the secret being retrieved. If needed, replace `
|
1651
|
-
# namespace_id` with the project ID.
|
1652
|
-
# @param [Google::Apis::RunV1::Secret] secret_object
|
1653
|
-
# @param [String] fields
|
1654
|
-
# Selector specifying which fields to include in a partial response.
|
1655
|
-
# @param [String] quota_user
|
1656
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1657
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1658
|
-
# @param [Google::Apis::RequestOptions] options
|
1659
|
-
# Request-specific options
|
1660
|
-
#
|
1661
|
-
# @yield [result, err] Result & error if block supplied
|
1662
|
-
# @yieldparam result [Google::Apis::RunV1::Secret] parsed result object
|
1663
|
-
# @yieldparam err [StandardError] error object if request failed
|
1664
|
-
#
|
1665
|
-
# @return [Google::Apis::RunV1::Secret]
|
1666
|
-
#
|
1667
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1668
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1669
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1670
|
-
def replace_project_location_secret_secret(name, secret_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1671
|
-
command = make_simple_command(:put, 'v1/{+name}', options)
|
1672
|
-
command.request_representation = Google::Apis::RunV1::Secret::Representation
|
1673
|
-
command.request_object = secret_object
|
1674
|
-
command.response_representation = Google::Apis::RunV1::Secret::Representation
|
1675
|
-
command.response_class = Google::Apis::RunV1::Secret
|
1676
|
-
command.params['name'] = name unless name.nil?
|
1677
|
-
command.query['fields'] = fields unless fields.nil?
|
1678
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1679
|
-
execute_or_queue_command(command, &block)
|
1680
|
-
end
|
1681
|
-
|
1682
1340
|
# Create a service.
|
1683
1341
|
# @param [String] parent
|
1684
1342
|
# The namespace in which the service should be created. For Cloud Run (fully
|