diff --git a/generated/google/apis/abusiveexperiencereport_v1.rb b/generated/google/apis/abusiveexperiencereport_v1.rb index d0b033d88..aa87607c9 100644 --- a/generated/google/apis/abusiveexperiencereport_v1.rb +++ b/generated/google/apis/abusiveexperiencereport_v1.rb @@ -26,10 +26,7 @@ module Google # @see https://developers.google.com/abusive-experience-report/ module AbusiveexperiencereportV1 VERSION = 'V1' - REVISION = '20190902' - - # Test scope for access to the Zoo service - AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo' + REVISION = '20200106' end end end diff --git a/generated/google/apis/adexperiencereport_v1.rb b/generated/google/apis/adexperiencereport_v1.rb index 45223d11c..6d2be6256 100644 --- a/generated/google/apis/adexperiencereport_v1.rb +++ b/generated/google/apis/adexperiencereport_v1.rb @@ -26,10 +26,7 @@ module Google # @see https://developers.google.com/ad-experience-report/ module AdexperiencereportV1 VERSION = 'V1' - REVISION = '20190902' - - # Test scope for access to the Zoo service - AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo' + REVISION = '20200106' end end end diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb index ad4b5e198..efb900fa6 100644 --- a/generated/google/apis/cloudkms_v1.rb +++ b/generated/google/apis/cloudkms_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/kms/ module CloudkmsV1 VERSION = 'V1' - REVISION = '20191210' + REVISION = '20200104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudkms_v1/classes.rb b/generated/google/apis/cloudkms_v1/classes.rb index 1ec2a185d..a2d278268 100644 --- a/generated/google/apis/cloudkms_v1/classes.rb +++ b/generated/google/apis/cloudkms_v1/classes.rb @@ -417,9 +417,9 @@ module Google # @return [String] attr_accessor :destroy_time - # [ExternalProtectionLevelOptions] stores a group of additional fields for - # configuring a [CryptoKeyVersion] that are specific to the [EXTERNAL] - # protection level. + # ExternalProtectionLevelOptions stores a group of additional fields for + # configuring a CryptoKeyVersion that are specific to the + # EXTERNAL protection level. # Corresponds to the JSON property `externalProtectionLevelOptions` # @return [Google::Apis::CloudkmsV1::ExternalProtectionLevelOptions] attr_accessor :external_protection_level_options @@ -733,9 +733,9 @@ module Google end end - # [ExternalProtectionLevelOptions] stores a group of additional fields for - # configuring a [CryptoKeyVersion] that are specific to the [EXTERNAL] - # protection level. + # ExternalProtectionLevelOptions stores a group of additional fields for + # configuring a CryptoKeyVersion that are specific to the + # EXTERNAL protection level. class ExternalProtectionLevelOptions include Google::Apis::Core::Hashable diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index 0259f0d85..e7889e6f3 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20191115' + REVISION = '20191211' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index d29494431..45ff5e507 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -2030,8 +2030,9 @@ module Google # "configure-sh" # "containerd-configure-sh" # "enable-os-login" - # "gci-update-strategy" # "gci-ensure-gke-docker" + # "gci-metrics-enabled" + # "gci-update-strategy" # "instance-template" # "kube-env" # "startup-script" @@ -2086,6 +2087,13 @@ module Google attr_accessor :preemptible alias_method :preemptible?, :preemptible + # [ReservationAffinity](/compute/docs/instances/reserving-zonal-resources) is + # the configuration of desired reservation which instances could take + # capacity from. + # Corresponds to the JSON property `reservationAffinity` + # @return [Google::Apis::ContainerV1::ReservationAffinity] + attr_accessor :reservation_affinity + # The Google Cloud Platform Service Account to be used by the node VMs. If # no Service Account is specified, the "default" service account is used. # Corresponds to the JSON property `serviceAccount` @@ -2129,6 +2137,7 @@ module Google @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) @preemptible = args[:preemptible] if args.key?(:preemptible) + @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity) @service_account = args[:service_account] if args.key?(:service_account) @shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config) @tags = args[:tags] if args.key?(:tags) @@ -2556,6 +2565,39 @@ module Google end end + # [ReservationAffinity](/compute/docs/instances/reserving-zonal-resources) is + # the configuration of desired reservation which instances could take + # capacity from. + class ReservationAffinity + include Google::Apis::Core::Hashable + + # Corresponds to the type of reservation consumption. + # Corresponds to the JSON property `consumeReservationType` + # @return [String] + attr_accessor :consume_reservation_type + + # Corresponds to the label key of reservation resource. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Corresponds to the label value(s) of reservation resource(s). + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type) + @key = args[:key] if args.key?(:key) + @values = args[:values] if args.key?(:values) + end + end + # Contains information about amount of some resource in the cluster. # For memory, value should be in GB. class ResourceLimit diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 91ec0c96e..d504c33d7 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -328,6 +328,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ReservationAffinity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ResourceLimit class Representation < Google::Apis::Core::JsonRepresentation; end @@ -982,6 +988,8 @@ module Google property :min_cpu_platform, as: 'minCpuPlatform' collection :oauth_scopes, as: 'oauthScopes' property :preemptible, as: 'preemptible' + property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ContainerV1::ReservationAffinity, decorator: Google::Apis::ContainerV1::ReservationAffinity::Representation + property :service_account, as: 'serviceAccount' property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::ContainerV1::ShieldedInstanceConfig, decorator: Google::Apis::ContainerV1::ShieldedInstanceConfig::Representation @@ -1085,6 +1093,15 @@ module Google end end + class ReservationAffinity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consume_reservation_type, as: 'consumeReservationType' + property :key, as: 'key' + collection :values, as: 'values' + end + end + class ResourceLimit # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1.rb index d8790d685..98f938ed5 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/spectrum-access-system/ module ProdTtSasportalV1alpha1 VERSION = 'V1alpha1' - REVISION = '20191217' + REVISION = '20200107' # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb index 509fb8d37..7a3100c41 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb @@ -52,6 +52,45 @@ module Google end end + # Request for BulkCreateDevice method. + class SasPortalBulkCreateDeviceRequest + include Google::Apis::Core::Hashable + + # Required. A csv with each row representing a [device]. Each row must + # conform to the regulations described on CreateDeviceRequest's device field. + # Corresponds to the JSON property `csv` + # @return [String] + attr_accessor :csv + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @csv = args[:csv] if args.key?(:csv) + end + end + + # Response for BulkCreateDevice method. + class SasPortalBulkCreateDeviceResponse + include Google::Apis::Core::Hashable + + # Required. The devices that were imported. + # Corresponds to the JSON property `devices` + # @return [Array] + attr_accessor :devices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @devices = args[:devices] if args.key?(:devices) + end + end + # Request for CreateSignedDevice method. class SasPortalCreateSignedDeviceRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb index 5ec0ae072..9b6e3018e 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb @@ -28,6 +28,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SasPortalBulkCreateDeviceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SasPortalBulkCreateDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SasPortalCreateSignedDeviceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -216,6 +228,21 @@ module Google end end + class SasPortalBulkCreateDeviceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :csv, as: 'csv' + end + end + + class SasPortalBulkCreateDeviceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :devices, as: 'devices', class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice, decorator: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation + + end + end + class SasPortalCreateSignedDeviceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb b/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb index 81bb13da1..b0ff83a38 100644 --- a/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +++ b/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb @@ -149,6 +149,39 @@ module Google execute_or_queue_command(command, &block) end + # Creates a device under a node or customer. Returned devices are unordered. + # @param [String] parent + # Required. The name of the parent resource. + # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest] sas_portal_bulk_create_device_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options) + command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation + command.request_object = sas_portal_bulk_create_device_request_object + command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation + command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a device under a node or customer. # @param [String] parent # Required. The name of the parent resource. @@ -713,6 +746,39 @@ module Google execute_or_queue_command(command, &block) end + # Creates a device under a node or customer. Returned devices are unordered. + # @param [String] parent + # Required. The name of the parent resource. + # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest] sas_portal_bulk_create_device_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options) + command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation + command.request_object = sas_portal_bulk_create_device_request_object + command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation + command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalBulkCreateDeviceResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a device under a node or customer. # @param [String] parent # Required. The name of the parent resource. diff --git a/generated/google/apis/redis_v1.rb b/generated/google/apis/redis_v1.rb index 47ffe4fda..f90700f91 100644 --- a/generated/google/apis/redis_v1.rb +++ b/generated/google/apis/redis_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/memorystore/docs/redis/ module RedisV1 VERSION = 'V1' - REVISION = '20191104' + REVISION = '20200107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/redis_v1/classes.rb b/generated/google/apis/redis_v1/classes.rb index 1c85157b9..12b09d03d 100644 --- a/generated/google/apis/redis_v1/classes.rb +++ b/generated/google/apis/redis_v1/classes.rb @@ -356,9 +356,8 @@ module Google attr_accessor :redis_configs # Optional. The version of Redis software. - # If not provided, latest supported version will be used. Updating the - # version will perform an upgrade/downgrade to the new version. Currently, - # the supported values are: + # If not provided, latest supported version will be used. Currently, the + # supported values are: # * `REDIS_4_0` for Redis 4.0 compatibility (default) # * `REDIS_3_2` for Redis 3.2 compatibility # Corresponds to the JSON property `redisVersion` diff --git a/generated/google/apis/redis_v1beta1.rb b/generated/google/apis/redis_v1beta1.rb index 69bb2e832..596cd316f 100644 --- a/generated/google/apis/redis_v1beta1.rb +++ b/generated/google/apis/redis_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/memorystore/docs/redis/ module RedisV1beta1 VERSION = 'V1beta1' - REVISION = '20191104' + REVISION = '20200107' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/redis_v1beta1/classes.rb b/generated/google/apis/redis_v1beta1/classes.rb index 16eae579b..31a6b8ee2 100644 --- a/generated/google/apis/redis_v1beta1/classes.rb +++ b/generated/google/apis/redis_v1beta1/classes.rb @@ -359,9 +359,8 @@ module Google attr_accessor :redis_configs # Optional. The version of Redis software. - # If not provided, latest supported version will be used. Updating the - # version will perform an upgrade/downgrade to the new version. Currently, - # the supported values are: + # If not provided, latest supported version will be used. Currently, the + # supported values are: # * `REDIS_4_0` for Redis 4.0 compatibility (default) # * `REDIS_3_2` for Redis 3.2 compatibility # Corresponds to the JSON property `redisVersion` diff --git a/generated/google/apis/sasportal_v1alpha1.rb b/generated/google/apis/sasportal_v1alpha1.rb index 1a935a69d..b759483d0 100644 --- a/generated/google/apis/sasportal_v1alpha1.rb +++ b/generated/google/apis/sasportal_v1alpha1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/spectrum-access-system/ module SasportalV1alpha1 VERSION = 'V1alpha1' - REVISION = '20191217' + REVISION = '20200107' # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' diff --git a/generated/google/apis/sasportal_v1alpha1/classes.rb b/generated/google/apis/sasportal_v1alpha1/classes.rb index 434faf584..934d1b311 100644 --- a/generated/google/apis/sasportal_v1alpha1/classes.rb +++ b/generated/google/apis/sasportal_v1alpha1/classes.rb @@ -52,6 +52,45 @@ module Google end end + # Request for BulkCreateDevice method. + class SasPortalBulkCreateDeviceRequest + include Google::Apis::Core::Hashable + + # Required. A csv with each row representing a [device]. Each row must + # conform to the regulations described on CreateDeviceRequest's device field. + # Corresponds to the JSON property `csv` + # @return [String] + attr_accessor :csv + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @csv = args[:csv] if args.key?(:csv) + end + end + + # Response for BulkCreateDevice method. + class SasPortalBulkCreateDeviceResponse + include Google::Apis::Core::Hashable + + # Required. The devices that were imported. + # Corresponds to the JSON property `devices` + # @return [Array] + attr_accessor :devices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @devices = args[:devices] if args.key?(:devices) + end + end + # Request for CreateSignedDevice method. class SasPortalCreateSignedDeviceRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/sasportal_v1alpha1/representations.rb b/generated/google/apis/sasportal_v1alpha1/representations.rb index 102500cd9..1ffd690ed 100644 --- a/generated/google/apis/sasportal_v1alpha1/representations.rb +++ b/generated/google/apis/sasportal_v1alpha1/representations.rb @@ -28,6 +28,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SasPortalBulkCreateDeviceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SasPortalBulkCreateDeviceResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SasPortalCreateSignedDeviceRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -216,6 +228,21 @@ module Google end end + class SasPortalBulkCreateDeviceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :csv, as: 'csv' + end + end + + class SasPortalBulkCreateDeviceResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :devices, as: 'devices', class: Google::Apis::SasportalV1alpha1::SasPortalDevice, decorator: Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation + + end + end + class SasPortalCreateSignedDeviceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/sasportal_v1alpha1/service.rb b/generated/google/apis/sasportal_v1alpha1/service.rb index df2a1c271..059291fd0 100644 --- a/generated/google/apis/sasportal_v1alpha1/service.rb +++ b/generated/google/apis/sasportal_v1alpha1/service.rb @@ -149,6 +149,39 @@ module Google execute_or_queue_command(command, &block) end + # Creates a device under a node or customer. Returned devices are unordered. + # @param [String] parent + # Required. The name of the parent resource. + # @param [Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest] sas_portal_bulk_create_device_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def bulk_customer_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options) + command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation + command.request_object = sas_portal_bulk_create_device_request_object + command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation + command.response_class = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a device under a node or customer. # @param [String] parent # Required. The name of the parent resource. @@ -713,6 +746,39 @@ module Google execute_or_queue_command(command, &block) end + # Creates a device under a node or customer. Returned devices are unordered. + # @param [String] parent + # Required. The name of the parent resource. + # @param [Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest] sas_portal_bulk_create_device_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def bulk_node_device(parent, sas_portal_bulk_create_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:bulk', options) + command.request_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceRequest::Representation + command.request_object = sas_portal_bulk_create_device_request_object + command.response_representation = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse::Representation + command.response_class = Google::Apis::SasportalV1alpha1::SasPortalBulkCreateDeviceResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a device under a node or customer. # @param [String] parent # Required. The name of the parent resource. diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 4f66a36f1..7c0f8ee69 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1 VERSION = 'V1' - REVISION = '20191115' + REVISION = '20200102' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/speech_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb index 2ef0e0e64..286d9e489 100644 --- a/generated/google/apis/speech_v1/classes.rb +++ b/generated/google/apis/speech_v1/classes.rb @@ -451,12 +451,6 @@ module Google # @return [String] attr_accessor :microphone_distance - # Obfuscated (privacy-protected) ID of the user, to identify number of - # unique users using the service. - # Corresponds to the JSON property `obfuscatedId` - # @return [Fixnum] - attr_accessor :obfuscated_id - # The original media the speech was recorded on. # Corresponds to the JSON property `originalMediaType` # @return [String] @@ -492,7 +486,6 @@ module Google @industry_naics_code_of_audio = args[:industry_naics_code_of_audio] if args.key?(:industry_naics_code_of_audio) @interaction_type = args[:interaction_type] if args.key?(:interaction_type) @microphone_distance = args[:microphone_distance] if args.key?(:microphone_distance) - @obfuscated_id = args[:obfuscated_id] if args.key?(:obfuscated_id) @original_media_type = args[:original_media_type] if args.key?(:original_media_type) @original_mime_type = args[:original_mime_type] if args.key?(:original_mime_type) @recording_device_name = args[:recording_device_name] if args.key?(:recording_device_name) @@ -747,7 +740,7 @@ module Google # @return [String] attr_accessor :end_time - # A distinct integer value is assigned for every speaker within + # Output only. A distinct integer value is assigned for every speaker within # the audio. This field specifies which one of those speakers was detected to # have spoken this word. Value ranges from '1' to diarization_speaker_count. # speaker_tag is set if enable_speaker_diarization = 'true' and only in the diff --git a/generated/google/apis/speech_v1/representations.rb b/generated/google/apis/speech_v1/representations.rb index 7824ac432..cb66fa48b 100644 --- a/generated/google/apis/speech_v1/representations.rb +++ b/generated/google/apis/speech_v1/representations.rb @@ -204,7 +204,6 @@ module Google property :industry_naics_code_of_audio, as: 'industryNaicsCodeOfAudio' property :interaction_type, as: 'interactionType' property :microphone_distance, as: 'microphoneDistance' - property :obfuscated_id, :numeric_string => true, as: 'obfuscatedId' property :original_media_type, as: 'originalMediaType' property :original_mime_type, as: 'originalMimeType' property :recording_device_name, as: 'recordingDeviceName' diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index 8a35453e9..24469b991 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20191115' + REVISION = '20200102' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/speech_v1p1beta1/classes.rb b/generated/google/apis/speech_v1p1beta1/classes.rb index 009c1dd35..fce8204d4 100644 --- a/generated/google/apis/speech_v1p1beta1/classes.rb +++ b/generated/google/apis/speech_v1p1beta1/classes.rb @@ -562,11 +562,6 @@ module Google # @return [Google::Apis::SpeechV1p1beta1::RecognitionConfig] attr_accessor :config - # Use `model` field in RecognitionConfig instead. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - def initialize(**args) update!(**args) end @@ -575,7 +570,6 @@ module Google def update!(**args) @audio = args[:audio] if args.key?(:audio) @config = args[:config] if args.key?(:config) - @name = args[:name] if args.key?(:name) end end @@ -746,7 +740,8 @@ module Google # @return [Fixnum] attr_accessor :channel_tag - # The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag + # Output only. The [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) + # language tag # of the language in this result. This language code was detected to have # the most likelihood of being spoken in the audio. # Corresponds to the JSON property `languageCode` @@ -829,7 +824,7 @@ module Google # @return [String] attr_accessor :end_time - # A distinct integer value is assigned for every speaker within + # Output only. A distinct integer value is assigned for every speaker within # the audio. This field specifies which one of those speakers was detected to # have spoken this word. Value ranges from '1' to diarization_speaker_count. # speaker_tag is set if enable_speaker_diarization = 'true' and only in the diff --git a/generated/google/apis/speech_v1p1beta1/representations.rb b/generated/google/apis/speech_v1p1beta1/representations.rb index 023cc1061..061f7e1d4 100644 --- a/generated/google/apis/speech_v1p1beta1/representations.rb +++ b/generated/google/apis/speech_v1p1beta1/representations.rb @@ -223,7 +223,6 @@ module Google property :config, as: 'config', class: Google::Apis::SpeechV1p1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1p1beta1::RecognitionConfig::Representation - property :name, as: 'name' end end diff --git a/generated/google/apis/tagmanager_v1.rb b/generated/google/apis/tagmanager_v1.rb index 8cfd85d76..904c6e91b 100644 --- a/generated/google/apis/tagmanager_v1.rb +++ b/generated/google/apis/tagmanager_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/tag-manager module TagmanagerV1 VERSION = 'V1' - REVISION = '20190629' + REVISION = '20191212' # Delete your Google Tag Manager containers AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers' diff --git a/generated/google/apis/tagmanager_v1/classes.rb b/generated/google/apis/tagmanager_v1/classes.rb index 323e800b4..e4163b605 100644 --- a/generated/google/apis/tagmanager_v1/classes.rb +++ b/generated/google/apis/tagmanager_v1/classes.rb @@ -1012,6 +1012,8 @@ module Google # non-string types) #
  • trigger_reference: The value represents a trigger, # represented as the trigger id
  • + #
  • tag_reference: The value represents a tag, represented as + # the tag name
  • # # @mutable tagmanager.accounts.containers.variables.create # @mutable tagmanager.accounts.containers.variables.update diff --git a/generated/google/apis/websecurityscanner_v1.rb b/generated/google/apis/websecurityscanner_v1.rb index 214c72369..87fdd7e37 100644 --- a/generated/google/apis/websecurityscanner_v1.rb +++ b/generated/google/apis/websecurityscanner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/security-scanner/ module WebsecurityscannerV1 VERSION = 'V1' - REVISION = '20190919' + REVISION = '20200104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/websecurityscanner_v1/classes.rb b/generated/google/apis/websecurityscanner_v1/classes.rb index 144426c0c..58f393f02 100644 --- a/generated/google/apis/websecurityscanner_v1/classes.rb +++ b/generated/google/apis/websecurityscanner_v1/classes.rb @@ -36,6 +36,11 @@ module Google # @return [Google::Apis::WebsecurityscannerV1::GoogleAccount] attr_accessor :google_account + # Describes authentication configuration for Identity-Aware-Proxy (IAP). + # Corresponds to the JSON property `iapCredential` + # @return [Google::Apis::WebsecurityscannerV1::IapCredential] + attr_accessor :iap_credential + def initialize(**args) update!(**args) end @@ -44,6 +49,7 @@ module Google def update!(**args) @custom_account = args[:custom_account] if args.key?(:custom_account) @google_account = args[:google_account] if args.key?(:google_account) + @iap_credential = args[:iap_credential] if args.key?(:iap_credential) end end @@ -363,6 +369,47 @@ module Google end end + # Describes authentication configuration for Identity-Aware-Proxy (IAP). + class IapCredential + include Google::Apis::Core::Hashable + + # Describes authentication configuration when Web-Security-Scanner + # service account is added in Identity-Aware-Proxy (IAP) access policies. + # Corresponds to the JSON property `iapTestServiceAccountInfo` + # @return [Google::Apis::WebsecurityscannerV1::IapTestServiceAccountInfo] + attr_accessor :iap_test_service_account_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iap_test_service_account_info = args[:iap_test_service_account_info] if args.key?(:iap_test_service_account_info) + end + end + + # Describes authentication configuration when Web-Security-Scanner + # service account is added in Identity-Aware-Proxy (IAP) access policies. + class IapTestServiceAccountInfo + include Google::Apis::Core::Hashable + + # Required. Describes OAuth2 client id of resources protected by + # Identity-Aware-Proxy (IAP). + # Corresponds to the JSON property `targetAudienceClientId` + # @return [String] + attr_accessor :target_audience_client_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_audience_client_id = args[:target_audience_client_id] if args.key?(:target_audience_client_id) + end + end + # Response for the `ListCrawledUrls` method. class ListCrawledUrlsResponse include Google::Apis::Core::Hashable @@ -543,6 +590,13 @@ module Google # @return [String] attr_accessor :export_to_security_command_center + # Whether the scan config is managed by Cloud Web Security Scanner, output + # only. + # Corresponds to the JSON property `managedScan` + # @return [Boolean] + attr_accessor :managed_scan + alias_method :managed_scan?, :managed_scan + # The maximum QPS during scanning. A valid value ranges from 5 to 20 # inclusively. If the field is unspecified or its value is set 0, server will # default to 15. Other values outside of [5, 20] range will be rejected with @@ -573,6 +627,13 @@ module Google # @return [Array] attr_accessor :starting_urls + # Whether the scan configuration has enabled static IP address scan feature. + # If enabled, the scanner will access applications from static IP addresses. + # Corresponds to the JSON property `staticIpScan` + # @return [Boolean] + attr_accessor :static_ip_scan + alias_method :static_ip_scan?, :static_ip_scan + # The user agent used during scanning. # Corresponds to the JSON property `userAgent` # @return [String] @@ -588,11 +649,13 @@ module Google @blacklist_patterns = args[:blacklist_patterns] if args.key?(:blacklist_patterns) @display_name = args[:display_name] if args.key?(:display_name) @export_to_security_command_center = args[:export_to_security_command_center] if args.key?(:export_to_security_command_center) + @managed_scan = args[:managed_scan] if args.key?(:managed_scan) @max_qps = args[:max_qps] if args.key?(:max_qps) @name = args[:name] if args.key?(:name) @risk_level = args[:risk_level] if args.key?(:risk_level) @schedule = args[:schedule] if args.key?(:schedule) @starting_urls = args[:starting_urls] if args.key?(:starting_urls) + @static_ip_scan = args[:static_ip_scan] if args.key?(:static_ip_scan) @user_agent = args[:user_agent] if args.key?(:user_agent) end end diff --git a/generated/google/apis/websecurityscanner_v1/representations.rb b/generated/google/apis/websecurityscanner_v1/representations.rb index 7a149234a..fe545f45a 100644 --- a/generated/google/apis/websecurityscanner_v1/representations.rb +++ b/generated/google/apis/websecurityscanner_v1/representations.rb @@ -76,6 +76,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IapCredential + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IapTestServiceAccountInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListCrawledUrlsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -191,6 +203,8 @@ module Google property :google_account, as: 'googleAccount', class: Google::Apis::WebsecurityscannerV1::GoogleAccount, decorator: Google::Apis::WebsecurityscannerV1::GoogleAccount::Representation + property :iap_credential, as: 'iapCredential', class: Google::Apis::WebsecurityscannerV1::IapCredential, decorator: Google::Apis::WebsecurityscannerV1::IapCredential::Representation + end end @@ -278,6 +292,21 @@ module Google end end + class IapCredential + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iap_test_service_account_info, as: 'iapTestServiceAccountInfo', class: Google::Apis::WebsecurityscannerV1::IapTestServiceAccountInfo, decorator: Google::Apis::WebsecurityscannerV1::IapTestServiceAccountInfo::Representation + + end + end + + class IapTestServiceAccountInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_audience_client_id, as: 'targetAudienceClientId' + end + end + class ListCrawledUrlsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -339,12 +368,14 @@ module Google collection :blacklist_patterns, as: 'blacklistPatterns' property :display_name, as: 'displayName' property :export_to_security_command_center, as: 'exportToSecurityCommandCenter' + property :managed_scan, as: 'managedScan' property :max_qps, as: 'maxQps' property :name, as: 'name' property :risk_level, as: 'riskLevel' property :schedule, as: 'schedule', class: Google::Apis::WebsecurityscannerV1::Schedule, decorator: Google::Apis::WebsecurityscannerV1::Schedule::Representation collection :starting_urls, as: 'startingUrls' + property :static_ip_scan, as: 'staticIpScan' property :user_agent, as: 'userAgent' end end diff --git a/generated/google/apis/websecurityscanner_v1beta.rb b/generated/google/apis/websecurityscanner_v1beta.rb index 3cdb9a487..3fce338b8 100644 --- a/generated/google/apis/websecurityscanner_v1beta.rb +++ b/generated/google/apis/websecurityscanner_v1beta.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/security-scanner/ module WebsecurityscannerV1beta VERSION = 'V1beta' - REVISION = '20190919' + REVISION = '20200104' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/websecurityscanner_v1beta/classes.rb b/generated/google/apis/websecurityscanner_v1beta/classes.rb index ca6561498..654aa3c29 100644 --- a/generated/google/apis/websecurityscanner_v1beta/classes.rb +++ b/generated/google/apis/websecurityscanner_v1beta/classes.rb @@ -36,6 +36,11 @@ module Google # @return [Google::Apis::WebsecurityscannerV1beta::GoogleAccount] attr_accessor :google_account + # Describes authentication configuration for Identity-Aware-Proxy (IAP). + # Corresponds to the JSON property `iapCredential` + # @return [Google::Apis::WebsecurityscannerV1beta::IapCredential] + attr_accessor :iap_credential + def initialize(**args) update!(**args) end @@ -44,6 +49,7 @@ module Google def update!(**args) @custom_account = args[:custom_account] if args.key?(:custom_account) @google_account = args[:google_account] if args.key?(:google_account) + @iap_credential = args[:iap_credential] if args.key?(:iap_credential) end end @@ -357,6 +363,47 @@ module Google end end + # Describes authentication configuration for Identity-Aware-Proxy (IAP). + class IapCredential + include Google::Apis::Core::Hashable + + # Describes authentication configuration when Web-Security-Scanner + # service account is added in Identity-Aware-Proxy (IAP) access policies. + # Corresponds to the JSON property `iapTestServiceAccountInfo` + # @return [Google::Apis::WebsecurityscannerV1beta::IapTestServiceAccountInfo] + attr_accessor :iap_test_service_account_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iap_test_service_account_info = args[:iap_test_service_account_info] if args.key?(:iap_test_service_account_info) + end + end + + # Describes authentication configuration when Web-Security-Scanner + # service account is added in Identity-Aware-Proxy (IAP) access policies. + class IapTestServiceAccountInfo + include Google::Apis::Core::Hashable + + # Required. Describes OAuth2 Client ID of resources protected by + # Identity-Aware-Proxy(IAP). + # Corresponds to the JSON property `targetAudienceClientId` + # @return [String] + attr_accessor :target_audience_client_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_audience_client_id = args[:target_audience_client_id] if args.key?(:target_audience_client_id) + end + end + # Response for the `ListCrawledUrls` method. class ListCrawledUrlsResponse include Google::Apis::Core::Hashable @@ -543,6 +590,13 @@ module Google # @return [Google::Apis::WebsecurityscannerV1beta::ScanRun] attr_accessor :latest_run + # Whether the scan config is managed by Cloud Web Security Scanner, output + # only. + # Corresponds to the JSON property `managedScan` + # @return [Boolean] + attr_accessor :managed_scan + alias_method :managed_scan?, :managed_scan + # The maximum QPS during scanning. A valid value ranges from 5 to 20 # inclusively. If the field is unspecified or its value is set 0, server will # default to 15. Other values outside of [5, 20] range will be rejected with @@ -573,6 +627,13 @@ module Google # @return [Array] attr_accessor :starting_urls + # Whether the scan configuration has enabled static IP address scan feature. + # If enabled, the scanner will access applications from static IP addresses. + # Corresponds to the JSON property `staticIpScan` + # @return [Boolean] + attr_accessor :static_ip_scan + alias_method :static_ip_scan?, :static_ip_scan + # Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be # used as a default. # Corresponds to the JSON property `targetPlatforms` @@ -595,11 +656,13 @@ module Google @display_name = args[:display_name] if args.key?(:display_name) @export_to_security_command_center = args[:export_to_security_command_center] if args.key?(:export_to_security_command_center) @latest_run = args[:latest_run] if args.key?(:latest_run) + @managed_scan = args[:managed_scan] if args.key?(:managed_scan) @max_qps = args[:max_qps] if args.key?(:max_qps) @name = args[:name] if args.key?(:name) @risk_level = args[:risk_level] if args.key?(:risk_level) @schedule = args[:schedule] if args.key?(:schedule) @starting_urls = args[:starting_urls] if args.key?(:starting_urls) + @static_ip_scan = args[:static_ip_scan] if args.key?(:static_ip_scan) @target_platforms = args[:target_platforms] if args.key?(:target_platforms) @user_agent = args[:user_agent] if args.key?(:user_agent) end diff --git a/generated/google/apis/websecurityscanner_v1beta/representations.rb b/generated/google/apis/websecurityscanner_v1beta/representations.rb index 95d741433..183983d9c 100644 --- a/generated/google/apis/websecurityscanner_v1beta/representations.rb +++ b/generated/google/apis/websecurityscanner_v1beta/representations.rb @@ -76,6 +76,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IapCredential + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IapTestServiceAccountInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListCrawledUrlsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -191,6 +203,8 @@ module Google property :google_account, as: 'googleAccount', class: Google::Apis::WebsecurityscannerV1beta::GoogleAccount, decorator: Google::Apis::WebsecurityscannerV1beta::GoogleAccount::Representation + property :iap_credential, as: 'iapCredential', class: Google::Apis::WebsecurityscannerV1beta::IapCredential, decorator: Google::Apis::WebsecurityscannerV1beta::IapCredential::Representation + end end @@ -278,6 +292,21 @@ module Google end end + class IapCredential + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iap_test_service_account_info, as: 'iapTestServiceAccountInfo', class: Google::Apis::WebsecurityscannerV1beta::IapTestServiceAccountInfo, decorator: Google::Apis::WebsecurityscannerV1beta::IapTestServiceAccountInfo::Representation + + end + end + + class IapTestServiceAccountInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_audience_client_id, as: 'targetAudienceClientId' + end + end + class ListCrawledUrlsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -341,12 +370,14 @@ module Google property :export_to_security_command_center, as: 'exportToSecurityCommandCenter' property :latest_run, as: 'latestRun', class: Google::Apis::WebsecurityscannerV1beta::ScanRun, decorator: Google::Apis::WebsecurityscannerV1beta::ScanRun::Representation + property :managed_scan, as: 'managedScan' property :max_qps, as: 'maxQps' property :name, as: 'name' property :risk_level, as: 'riskLevel' property :schedule, as: 'schedule', class: Google::Apis::WebsecurityscannerV1beta::Schedule, decorator: Google::Apis::WebsecurityscannerV1beta::Schedule::Representation collection :starting_urls, as: 'startingUrls' + property :static_ip_scan, as: 'staticIpScan' collection :target_platforms, as: 'targetPlatforms' property :user_agent, as: 'userAgent' end