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
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# @see https://cloud.google.com/apigee-api-management/
|
30
30
|
module ApigeeV1
|
31
31
|
VERSION = 'V1'
|
32
|
-
REVISION = '
|
32
|
+
REVISION = '20200921'
|
33
33
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1612,11 +1612,6 @@ module Google
|
|
1612
1612
|
# @return [String]
|
1613
1613
|
attr_accessor :api_proxy
|
1614
1614
|
|
1615
|
-
# Base path for the deployment.
|
1616
|
-
# Corresponds to the JSON property `basePath`
|
1617
|
-
# @return [String]
|
1618
|
-
attr_accessor :base_path
|
1619
|
-
|
1620
1615
|
# Time the API proxy was marked `deployed` in the control plane in millisconds
|
1621
1616
|
# since epoch.
|
1622
1617
|
# Corresponds to the JSON property `deployStartTime`
|
@@ -1672,7 +1667,6 @@ module Google
|
|
1672
1667
|
# Update properties of this object
|
1673
1668
|
def update!(**args)
|
1674
1669
|
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
|
1675
|
-
@base_path = args[:base_path] if args.key?(:base_path)
|
1676
1670
|
@deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time)
|
1677
1671
|
@environment = args[:environment] if args.key?(:environment)
|
1678
1672
|
@errors = args[:errors] if args.key?(:errors)
|
@@ -1296,7 +1296,6 @@ module Google
|
|
1296
1296
|
# @private
|
1297
1297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1298
1298
|
property :api_proxy, as: 'apiProxy'
|
1299
|
-
property :base_path, as: 'basePath'
|
1300
1299
|
property :deploy_start_time, :numeric_string => true, as: 'deployStartTime'
|
1301
1300
|
property :environment, as: 'environment'
|
1302
1301
|
collection :errors, as: 'errors', class: Google::Apis::ApigeeV1::GoogleRpcStatus, decorator: Google::Apis::ApigeeV1::GoogleRpcStatus::Representation
|
@@ -3908,9 +3908,6 @@ module Google
|
|
3908
3908
|
# @param [String] name
|
3909
3909
|
# Name of the API proxy revision deployment in the following format: `
|
3910
3910
|
# organizations/`org`/environments/`env`/apis/`api`/revisions/`rev``
|
3911
|
-
# @param [String] basepath
|
3912
|
-
# Base path where the API proxy revision should be deployed. Defaults to '/' if
|
3913
|
-
# not provided.
|
3914
3911
|
# @param [Boolean] override
|
3915
3912
|
# Flag that specifies whether to force the deployment of the new revision over
|
3916
3913
|
# the currently deployed revision by overriding conflict checks.
|
@@ -3931,12 +3928,11 @@ module Google
|
|
3931
3928
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3932
3929
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3933
3930
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3934
|
-
def generate_organization_environment_api_revision_deployment_deploy_change_report(name,
|
3931
|
+
def generate_organization_environment_api_revision_deployment_deploy_change_report(name, override: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3935
3932
|
command = make_simple_command(:post, 'v1/{+name}/deployments:generateDeployChangeReport', options)
|
3936
3933
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport::Representation
|
3937
3934
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReport
|
3938
3935
|
command.params['name'] = name unless name.nil?
|
3939
|
-
command.query['basepath'] = basepath unless basepath.nil?
|
3940
3936
|
command.query['override'] = override unless override.nil?
|
3941
3937
|
command.query['fields'] = fields unless fields.nil?
|
3942
3938
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/apps-marketplace
|
27
27
|
module AppsmarketV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200921'
|
30
30
|
|
31
31
|
# View your installed application's licensing information
|
32
32
|
AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200916'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -2855,6 +2855,27 @@ module Google
|
|
2855
2855
|
# @return [String]
|
2856
2856
|
attr_accessor :create_disposition
|
2857
2857
|
|
2858
|
+
# [Trusted Tester] Defines the list of possible SQL data types to which the
|
2859
|
+
# source decimal values are converted. This list and the precision and the scale
|
2860
|
+
# parameters of the decimal field determine the target type. In the order of
|
2861
|
+
# NUMERIC, BIGNUMERIC, and STRING, a type is picked if it is in the specified
|
2862
|
+
# list and if it supports the precision and the scale. STRING supports all
|
2863
|
+
# precision and scale values. If none of the listed types supports the precision
|
2864
|
+
# and the scale, the type supporting the widest range in the specified list is
|
2865
|
+
# picked, and if a value exceeds the supported range when reading the data, an
|
2866
|
+
# error will be thrown. For example: suppose decimal_target_type = ["NUMERIC", "
|
2867
|
+
# BIGNUMERIC"]. Then if (precision,scale) is: * (38,9) -> NUMERIC; * (39,9) ->
|
2868
|
+
# BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (
|
2869
|
+
# NUMERIC cannot hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -
|
2870
|
+
# > BIGNUMERIC (error if value exeeds supported range). For duplicated types in
|
2871
|
+
# this field, only one will be considered and the rest will be ignored. The
|
2872
|
+
# order of the types in this field is ignored. For example, ["BIGNUMERIC", "
|
2873
|
+
# NUMERIC"] is the same as ["NUMERIC", "BIGNUMERIC"] and NUMERIC always takes
|
2874
|
+
# precedence over BIGNUMERIC.
|
2875
|
+
# Corresponds to the JSON property `decimalTargetTypes`
|
2876
|
+
# @return [Array<String>]
|
2877
|
+
attr_accessor :decimal_target_types
|
2878
|
+
|
2858
2879
|
# Custom encryption configuration (e.g., Cloud KMS keys).
|
2859
2880
|
# Corresponds to the JSON property `destinationEncryptionConfiguration`
|
2860
2881
|
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
@@ -3044,6 +3065,7 @@ module Google
|
|
3044
3065
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
3045
3066
|
@clustering = args[:clustering] if args.key?(:clustering)
|
3046
3067
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
3068
|
+
@decimal_target_types = args[:decimal_target_types] if args.key?(:decimal_target_types)
|
3047
3069
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
3048
3070
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
3049
3071
|
@destination_table_properties = args[:destination_table_properties] if args.key?(:destination_table_properties)
|
@@ -1495,6 +1495,7 @@ module Google
|
|
1495
1495
|
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
1496
1496
|
|
1497
1497
|
property :create_disposition, as: 'createDisposition'
|
1498
|
+
collection :decimal_target_types, as: 'decimalTargetTypes'
|
1498
1499
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
1499
1500
|
|
1500
1501
|
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
27
27
|
module BinaryauthorizationV1
|
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'
|
@@ -83,6 +83,53 @@ module Google
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
+
# Occurrence that represents a single "attestation". The authenticity of an
|
87
|
+
# attestation can be verified using the attached signature. If the verifier
|
88
|
+
# trusts the public key of the signer, then verifying the signature is
|
89
|
+
# sufficient to establish trust. In this circumstance, the authority to which
|
90
|
+
# this attestation is attached is primarily useful for lookup (how to find this
|
91
|
+
# attestation if you already know the authority and artifact to be verified) and
|
92
|
+
# intent (for which authority this attestation was intended to sign.
|
93
|
+
class AttestationOccurrence
|
94
|
+
include Google::Apis::Core::Hashable
|
95
|
+
|
96
|
+
# One or more JWTs encoding a self-contained attestation. Each JWT encodes the
|
97
|
+
# payload that it verifies within the JWT itself. Verifier implementation SHOULD
|
98
|
+
# ignore the `serialized_payload` field when verifying these JWTs. If only JWTs
|
99
|
+
# are present on this AttestationOccurrence, then the `serialized_payload`
|
100
|
+
# SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `
|
101
|
+
# resource_uri` of this Occurrence, but this is not validated by Grafeas
|
102
|
+
# metadata API implementations. The JWT itself is opaque to Grafeas.
|
103
|
+
# Corresponds to the JSON property `jwts`
|
104
|
+
# @return [Array<Google::Apis::BinaryauthorizationV1::Jwt>]
|
105
|
+
attr_accessor :jwts
|
106
|
+
|
107
|
+
# Required. The serialized payload that is verified by one or more `signatures`.
|
108
|
+
# Corresponds to the JSON property `serializedPayload`
|
109
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :serialized_payload
|
112
|
+
|
113
|
+
# One or more signatures over `serialized_payload`. Verifier implementations
|
114
|
+
# should consider this attestation message verified if at least one `signature`
|
115
|
+
# verifies `serialized_payload`. See `Signature` in common.proto for more
|
116
|
+
# details on signature structure and verification.
|
117
|
+
# Corresponds to the JSON property `signatures`
|
118
|
+
# @return [Array<Google::Apis::BinaryauthorizationV1::Signature>]
|
119
|
+
attr_accessor :signatures
|
120
|
+
|
121
|
+
def initialize(**args)
|
122
|
+
update!(**args)
|
123
|
+
end
|
124
|
+
|
125
|
+
# Update properties of this object
|
126
|
+
def update!(**args)
|
127
|
+
@jwts = args[:jwts] if args.key?(:jwts)
|
128
|
+
@serialized_payload = args[:serialized_payload] if args.key?(:serialized_payload)
|
129
|
+
@signatures = args[:signatures] if args.key?(:signatures)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
86
133
|
# An attestor that attests to container image artifacts. An existing attestor
|
87
134
|
# cannot be modified except where indicated.
|
88
135
|
class Attestor
|
@@ -406,6 +453,27 @@ module Google
|
|
406
453
|
end
|
407
454
|
end
|
408
455
|
|
456
|
+
#
|
457
|
+
class Jwt
|
458
|
+
include Google::Apis::Core::Hashable
|
459
|
+
|
460
|
+
# The compact encoding of a JWS, which is always three base64 encoded strings
|
461
|
+
# joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#
|
462
|
+
# section-3.1
|
463
|
+
# Corresponds to the JSON property `compactJwt`
|
464
|
+
# @return [String]
|
465
|
+
attr_accessor :compact_jwt
|
466
|
+
|
467
|
+
def initialize(**args)
|
468
|
+
update!(**args)
|
469
|
+
end
|
470
|
+
|
471
|
+
# Update properties of this object
|
472
|
+
def update!(**args)
|
473
|
+
@compact_jwt = args[:compact_jwt] if args.key?(:compact_jwt)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
409
477
|
# Response message for BinauthzManagementService.ListAttestors.
|
410
478
|
class ListAttestorsResponse
|
411
479
|
include Google::Apis::Core::Hashable
|
@@ -578,6 +646,61 @@ module Google
|
|
578
646
|
end
|
579
647
|
end
|
580
648
|
|
649
|
+
# Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to
|
650
|
+
# the trust anchors defined in policy (e.g. a Kritis policy). Typically this
|
651
|
+
# means that the verifier has been configured with a map from `public_key_id` to
|
652
|
+
# public key material (and any required parameters, e.g. signing algorithm). In
|
653
|
+
# particular, verification implementations MUST NOT treat the signature `
|
654
|
+
# public_key_id` as anything more than a key lookup hint. The `public_key_id`
|
655
|
+
# DOES NOT validate or authenticate a public key; it only provides a mechanism
|
656
|
+
# for quickly selecting a public key ALREADY CONFIGURED on the verifier through
|
657
|
+
# a trusted channel. Verification implementations MUST reject signatures in any
|
658
|
+
# of the following circumstances: * The `public_key_id` is not recognized by the
|
659
|
+
# verifier. * The public key that `public_key_id` refers to does not verify the
|
660
|
+
# signature with respect to the payload. The `signature` contents SHOULD NOT be "
|
661
|
+
# attached" (where the payload is included with the serialized `signature` bytes)
|
662
|
+
# . Verifiers MUST ignore any "attached" payload and only verify signatures with
|
663
|
+
# respect to explicitly provided payload (e.g. a `payload` field on the proto
|
664
|
+
# message that holds this Signature, or the canonical serialization of the proto
|
665
|
+
# message that holds this signature).
|
666
|
+
class Signature
|
667
|
+
include Google::Apis::Core::Hashable
|
668
|
+
|
669
|
+
# The identifier for the public key that verifies this signature. * The `
|
670
|
+
# public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986
|
671
|
+
# conformant URI. * When possible, the `public_key_id` SHOULD be an immutable
|
672
|
+
# reference, such as a cryptographic digest. Examples of valid `public_key_id`s:
|
673
|
+
# OpenPGP V4 public key fingerprint: * "openpgp4fpr:
|
674
|
+
# 74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/
|
675
|
+
# uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-
|
676
|
+
# named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;
|
677
|
+
# cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;
|
678
|
+
# 703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
|
679
|
+
# Corresponds to the JSON property `publicKeyId`
|
680
|
+
# @return [String]
|
681
|
+
attr_accessor :public_key_id
|
682
|
+
|
683
|
+
# The content of the signature, an opaque bytestring. The payload that this
|
684
|
+
# signature verifies MUST be unambiguously provided with the Signature during
|
685
|
+
# verification. A wrapper message might provide the payload explicitly.
|
686
|
+
# Alternatively, a message might have a canonical serialization that can always
|
687
|
+
# be unambiguously computed to derive the payload.
|
688
|
+
# Corresponds to the JSON property `signature`
|
689
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
690
|
+
# @return [String]
|
691
|
+
attr_accessor :signature
|
692
|
+
|
693
|
+
def initialize(**args)
|
694
|
+
update!(**args)
|
695
|
+
end
|
696
|
+
|
697
|
+
# Update properties of this object
|
698
|
+
def update!(**args)
|
699
|
+
@public_key_id = args[:public_key_id] if args.key?(:public_key_id)
|
700
|
+
@signature = args[:signature] if args.key?(:signature)
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
581
704
|
# Request message for `TestIamPermissions` method.
|
582
705
|
class TestIamPermissionsRequest
|
583
706
|
include Google::Apis::Core::Hashable
|
@@ -664,6 +787,70 @@ module Google
|
|
664
787
|
@public_keys = args[:public_keys] if args.key?(:public_keys)
|
665
788
|
end
|
666
789
|
end
|
790
|
+
|
791
|
+
# Request message for ValidationHelperV1.ValidateAttestationOccurrence.
|
792
|
+
class ValidateAttestationOccurrenceRequest
|
793
|
+
include Google::Apis::Core::Hashable
|
794
|
+
|
795
|
+
# Occurrence that represents a single "attestation". The authenticity of an
|
796
|
+
# attestation can be verified using the attached signature. If the verifier
|
797
|
+
# trusts the public key of the signer, then verifying the signature is
|
798
|
+
# sufficient to establish trust. In this circumstance, the authority to which
|
799
|
+
# this attestation is attached is primarily useful for lookup (how to find this
|
800
|
+
# attestation if you already know the authority and artifact to be verified) and
|
801
|
+
# intent (for which authority this attestation was intended to sign.
|
802
|
+
# Corresponds to the JSON property `attestation`
|
803
|
+
# @return [Google::Apis::BinaryauthorizationV1::AttestationOccurrence]
|
804
|
+
attr_accessor :attestation
|
805
|
+
|
806
|
+
# Required. The resource name of the Note to which the containing Occurrence is
|
807
|
+
# associated.
|
808
|
+
# Corresponds to the JSON property `occurrenceNote`
|
809
|
+
# @return [String]
|
810
|
+
attr_accessor :occurrence_note
|
811
|
+
|
812
|
+
# Required. The URI of the artifact (e.g. container image) that is the subject
|
813
|
+
# of the containing Occurrence.
|
814
|
+
# Corresponds to the JSON property `occurrenceResourceUri`
|
815
|
+
# @return [String]
|
816
|
+
attr_accessor :occurrence_resource_uri
|
817
|
+
|
818
|
+
def initialize(**args)
|
819
|
+
update!(**args)
|
820
|
+
end
|
821
|
+
|
822
|
+
# Update properties of this object
|
823
|
+
def update!(**args)
|
824
|
+
@attestation = args[:attestation] if args.key?(:attestation)
|
825
|
+
@occurrence_note = args[:occurrence_note] if args.key?(:occurrence_note)
|
826
|
+
@occurrence_resource_uri = args[:occurrence_resource_uri] if args.key?(:occurrence_resource_uri)
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# Response message for ValidationHelperV1.ValidateAttestationOccurrence.
|
831
|
+
class ValidateAttestationOccurrenceResponse
|
832
|
+
include Google::Apis::Core::Hashable
|
833
|
+
|
834
|
+
# The reason for denial if the Attestation couldn't be validated.
|
835
|
+
# Corresponds to the JSON property `denialReason`
|
836
|
+
# @return [String]
|
837
|
+
attr_accessor :denial_reason
|
838
|
+
|
839
|
+
# The result of the Attestation validation.
|
840
|
+
# Corresponds to the JSON property `result`
|
841
|
+
# @return [String]
|
842
|
+
attr_accessor :result
|
843
|
+
|
844
|
+
def initialize(**args)
|
845
|
+
update!(**args)
|
846
|
+
end
|
847
|
+
|
848
|
+
# Update properties of this object
|
849
|
+
def update!(**args)
|
850
|
+
@denial_reason = args[:denial_reason] if args.key?(:denial_reason)
|
851
|
+
@result = args[:result] if args.key?(:result)
|
852
|
+
end
|
853
|
+
end
|
667
854
|
end
|
668
855
|
end
|
669
856
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AttestationOccurrence
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Attestor
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -70,6 +76,12 @@ module Google
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
71
77
|
end
|
72
78
|
|
79
|
+
class Jwt
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class ListAttestorsResponse
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -94,6 +106,12 @@ module Google
|
|
94
106
|
include Google::Apis::Core::JsonObjectSupport
|
95
107
|
end
|
96
108
|
|
109
|
+
class Signature
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
97
115
|
class TestIamPermissionsRequest
|
98
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
117
|
|
@@ -112,6 +130,18 @@ module Google
|
|
112
130
|
include Google::Apis::Core::JsonObjectSupport
|
113
131
|
end
|
114
132
|
|
133
|
+
class ValidateAttestationOccurrenceRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ValidateAttestationOccurrenceResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
115
145
|
class AdmissionRule
|
116
146
|
# @private
|
117
147
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -128,6 +158,17 @@ module Google
|
|
128
158
|
end
|
129
159
|
end
|
130
160
|
|
161
|
+
class AttestationOccurrence
|
162
|
+
# @private
|
163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
164
|
+
collection :jwts, as: 'jwts', class: Google::Apis::BinaryauthorizationV1::Jwt, decorator: Google::Apis::BinaryauthorizationV1::Jwt::Representation
|
165
|
+
|
166
|
+
property :serialized_payload, :base64 => true, as: 'serializedPayload'
|
167
|
+
collection :signatures, as: 'signatures', class: Google::Apis::BinaryauthorizationV1::Signature, decorator: Google::Apis::BinaryauthorizationV1::Signature::Representation
|
168
|
+
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
131
172
|
class Attestor
|
132
173
|
# @private
|
133
174
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -187,6 +228,13 @@ module Google
|
|
187
228
|
end
|
188
229
|
end
|
189
230
|
|
231
|
+
class Jwt
|
232
|
+
# @private
|
233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
+
property :compact_jwt, as: 'compactJwt'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
190
238
|
class ListAttestorsResponse
|
191
239
|
# @private
|
192
240
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -228,6 +276,14 @@ module Google
|
|
228
276
|
end
|
229
277
|
end
|
230
278
|
|
279
|
+
class Signature
|
280
|
+
# @private
|
281
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
282
|
+
property :public_key_id, as: 'publicKeyId'
|
283
|
+
property :signature, :base64 => true, as: 'signature'
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
231
287
|
class TestIamPermissionsRequest
|
232
288
|
# @private
|
233
289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -251,6 +307,24 @@ module Google
|
|
251
307
|
|
252
308
|
end
|
253
309
|
end
|
310
|
+
|
311
|
+
class ValidateAttestationOccurrenceRequest
|
312
|
+
# @private
|
313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
+
property :attestation, as: 'attestation', class: Google::Apis::BinaryauthorizationV1::AttestationOccurrence, decorator: Google::Apis::BinaryauthorizationV1::AttestationOccurrence::Representation
|
315
|
+
|
316
|
+
property :occurrence_note, as: 'occurrenceNote'
|
317
|
+
property :occurrence_resource_uri, as: 'occurrenceResourceUri'
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
class ValidateAttestationOccurrenceResponse
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
property :denial_reason, as: 'denialReason'
|
325
|
+
property :result, as: 'result'
|
326
|
+
end
|
327
|
+
end
|
254
328
|
end
|
255
329
|
end
|
256
330
|
end
|