Autogenerated update (2019-05-25)
Update: - fcm_v1 - securitycenter_v1 - securitycenter_v1beta1
This commit is contained in:
parent
dd7edcba0a
commit
616c097d1c
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/cloud-messaging
|
||||
module FcmV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190516'
|
||||
REVISION = '20190524'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -207,6 +207,11 @@ module Google
|
|||
class ApnsConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Options for features provided by the FCM SDK for iOS.
|
||||
# Corresponds to the JSON property `fcmOptions`
|
||||
# @return [Google::Apis::FcmV1::ApnsFcmOptions]
|
||||
attr_accessor :fcm_options
|
||||
|
||||
# HTTP request headers defined in Apple Push Notification Service. Refer to
|
||||
# [APNs request headers](https://goo.gl/C6Yhia) for
|
||||
# supported headers, e.g. "apns-priority": "10".
|
||||
|
@ -228,11 +233,25 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fcm_options = args[:fcm_options] if args.key?(:fcm_options)
|
||||
@headers = args[:headers] if args.key?(:headers)
|
||||
@payload = args[:payload] if args.key?(:payload)
|
||||
end
|
||||
end
|
||||
|
||||
# Options for features provided by the FCM SDK for iOS.
|
||||
class ApnsFcmOptions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# Message to send by Firebase Cloud Messaging Service.
|
||||
class Message
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -40,6 +40,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ApnsFcmOptions
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Message
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -104,11 +110,19 @@ module Google
|
|||
class ApnsConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::ApnsFcmOptions, decorator: Google::Apis::FcmV1::ApnsFcmOptions::Representation
|
||||
|
||||
hash :headers, as: 'headers'
|
||||
hash :payload, as: 'payload'
|
||||
end
|
||||
end
|
||||
|
||||
class ApnsFcmOptions
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Message
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||
module SecuritycenterV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190503'
|
||||
REVISION = '20190522'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1481,10 +1481,8 @@ module Google
|
|||
# The source's display name.
|
||||
# A source's display name must be unique amongst its siblings, for example,
|
||||
# two sources with the same parent can't share the same display name.
|
||||
# The display name must start and end with a letter or digit, may contain
|
||||
# letters, digits, spaces, hyphens, and underscores, and can be no longer
|
||||
# than 32 characters. This is captured by the regular expression:
|
||||
# [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,30`[\p`L`\p`N`])?.
|
||||
# The display name must have a length between 1 and 64 characters
|
||||
# (inclusive).
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
||||
module SecuritycenterV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190503'
|
||||
REVISION = '20190522'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1368,10 +1368,8 @@ module Google
|
|||
# The source’s display name.
|
||||
# A source’s display name must be unique amongst its siblings, for example,
|
||||
# two sources with the same parent can't share the same display name.
|
||||
# The display name must start and end with a letter or digit, may contain
|
||||
# letters, digits, spaces, hyphens, and underscores, and can be no longer
|
||||
# than 32 characters. This is captured by the regular expression:
|
||||
# [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,30`[\p`L`\p`N`])?.
|
||||
# The display name must have a length between 1 and 64 characters
|
||||
# (inclusive).
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
|
Loading…
Reference in New Issue