Autogenerated update (2018-06-21)

Update:
- appengine_v1
- appengine_v1beta
- cloudresourcemanager_v2
- container_v1
- dlp_v2
- ml_v1
- oslogin_v1
- testing_v1
This commit is contained in:
Google APIs committed 2018-06-21 00:37:19 +00:00
1 parent 3c1caad9fe
commit 144cbed26d
18 files changed
+147 -15

No files matched your search

@@ -1156,6 +1156,11 @@ module Google
# @return [String]
attr_accessor :oauth2_client_id
# InputOnly OAuth client info required to generate client id to be used for IAP.
# Corresponds to the JSON property `oauth2ClientInfo`
# @return [Google::Apis::AppengineV1beta::OAuth2ClientInfo]
attr_accessor :oauth2_client_info
# OAuth2 client secret to use for the authentication flow.For security reasons,
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
# value is returned in the oauth2_client_secret_sha256 field.@InputOnly
@@ -1176,6 +1181,7 @@ module Google
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
@oauth2_client_info = args[:oauth2_client_info] if args.key?(:oauth2_client_info)
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
end
@@ -1832,6 +1838,38 @@ module Google
end
end
#
class OAuth2ClientInfo
include Google::Apis::Core::Hashable
# Application name to be used in OAuth consent screen.
# Corresponds to the JSON property `applicationName`
# @return [String]
attr_accessor :application_name
# Nameof the client to be generated. Optional - If not provided, the name will
# be autogenerated by the backend.
# Corresponds to the JSON property `clientName`
# @return [String]
attr_accessor :client_name
# Developer's information to be used in OAuth consent screen.
# Corresponds to the JSON property `developerEmailAddress`
# @return [String]
attr_accessor :developer_email_address
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@application_name = args[:application_name] if args.key?(:application_name)
@client_name = args[:client_name] if args.key?(:client_name)
@developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address)
end
end
# This resource represents a long-running operation that is the result of a
# network API call.
class Operation
@@ -2743,7 +2781,8 @@ module Google
# @return [String]
attr_accessor :auth_fail_action
# Level of login required to access this resource.
# Level of login required to access this resource. Not supported for Node.js in
# the App Engine standard environment.
# Corresponds to the JSON property `login`
# @return [String]
attr_accessor :login
@@ -310,6 +310,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class OAuth2ClientInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -747,6 +753,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
property :oauth2_client_id, as: 'oauth2ClientId'
property :oauth2_client_info, as: 'oauth2ClientInfo', class: Google::Apis::AppengineV1beta::OAuth2ClientInfo, decorator: Google::Apis::AppengineV1beta::OAuth2ClientInfo::Representation
property :oauth2_client_secret, as: 'oauth2ClientSecret'
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
end
@@ -931,6 +939,15 @@ module Google
end
end
class OAuth2ClientInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :application_name, as: 'applicationName'
property :client_name, as: 'clientName'
property :developer_email_address, as: 'developerEmailAddress'
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation