Autogenerated update (2020-06-09)

Update:
- androidpublisher_v3
- apigee_v1
- osconfig_v1
- policytroubleshooter_v1
- policytroubleshooter_v1beta
- securitycenter_v1
- securitycenter_v1beta1
- securitycenter_v1p1alpha1
- securitycenter_v1p1beta1
- serviceconsumermanagement_v1
- serviceconsumermanagement_v1beta1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
This commit is contained in:
Google APIs 2020-06-09 00:38:09 +00:00
parent e8d3d89f73
commit 5852c0c734
43 changed files with 1669 additions and 1945 deletions

View File

@ -18,14 +18,14 @@ require 'google/apis/androidpublisher_v3/representations.rb'
module Google module Google
module Apis module Apis
# Google Play Developer API # Google Play Android Developer API
# #
# Accesses Android application developers' Google Play accounts. # Lets Android application developers access their Google Play accounts.
# #
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV3 module AndroidpublisherV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20200602' REVISION = '20200607'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

File diff suppressed because it is too large Load Diff

View File

@ -82,12 +82,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Control
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CountryTargeting class CountryTargeting
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -118,12 +112,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DeviceSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ExpansionFile class ExpansionFile
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -142,12 +130,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ExternallyHostedApkUsesPermission
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Image class Image
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -220,12 +202,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class ModRange
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PageInfo class PageInfo
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -280,24 +256,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Sampling
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class StratifiedSampling
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Stratum
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SubscriptionCancelSurveyResult class SubscriptionCancelSurveyResult
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -340,18 +298,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class SystemApkVariantsCreateRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SystemApkVariantsListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Testers class Testers
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -382,24 +328,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class TrackReleasePin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TrackReleasePinPinTargeting
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TrackReleasePinPinTargetingDevicePin
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TracksListResponse class TracksListResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -412,7 +340,7 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Variant class UsesPermission
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
@ -435,8 +363,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
property :test_binary, as: 'testBinary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
property :version_code, as: 'versionCode' property :version_code, as: 'versionCode'
end end
end end
@ -520,17 +446,6 @@ module Google
end end
end end
class Control
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
collection :stratified_samplings, as: 'stratifiedSamplings', class: Google::Apis::AndroidpublisherV3::StratifiedSampling, decorator: Google::Apis::AndroidpublisherV3::StratifiedSampling::Representation
collection :version_codes, as: 'versionCodes'
end
end
class CountryTargeting class CountryTargeting
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -580,15 +495,6 @@ module Google
end end
end end
class DeviceSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :screen_density, as: 'screenDensity'
collection :supported_abis, as: 'supportedAbis'
collection :supported_locales, as: 'supportedLocales'
end
end
class ExpansionFile class ExpansionFile
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -620,21 +526,13 @@ module Google
collection :native_codes, as: 'nativeCodes' collection :native_codes, as: 'nativeCodes'
property :package_name, as: 'packageName' property :package_name, as: 'packageName'
collection :uses_features, as: 'usesFeatures' collection :uses_features, as: 'usesFeatures'
collection :uses_permissions, as: 'usesPermissions', class: Google::Apis::AndroidpublisherV3::ExternallyHostedApkUsesPermission, decorator: Google::Apis::AndroidpublisherV3::ExternallyHostedApkUsesPermission::Representation collection :uses_permissions, as: 'usesPermissions', class: Google::Apis::AndroidpublisherV3::UsesPermission, decorator: Google::Apis::AndroidpublisherV3::UsesPermission::Representation
property :version_code, as: 'versionCode' property :version_code, as: 'versionCode'
property :version_name, as: 'versionName' property :version_name, as: 'versionName'
end end
end end
class ExternallyHostedApkUsesPermission
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :max_sdk_version, as: 'maxSdkVersion'
property :name, as: 'name'
end
end
class Image class Image
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -682,7 +580,6 @@ module Google
hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
property :purchase_type, as: 'purchaseType' property :purchase_type, as: 'purchaseType'
property :resubscribe_eligibility, as: 'resubscribeEligibility'
property :sku, as: 'sku' property :sku, as: 'sku'
property :status, as: 'status' property :status, as: 'status'
property :subscription_period, as: 'subscriptionPeriod' property :subscription_period, as: 'subscriptionPeriod'
@ -759,14 +656,6 @@ module Google
end end
end end
class ModRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :end, :numeric_string => true, as: 'end'
property :start, :numeric_string => true, as: 'start'
end
end
class PageInfo class PageInfo
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -791,6 +680,8 @@ module Google
property :consumption_state, as: 'consumptionState' property :consumption_state, as: 'consumptionState'
property :developer_payload, as: 'developerPayload' property :developer_payload, as: 'developerPayload'
property :kind, as: 'kind' property :kind, as: 'kind'
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
property :order_id, as: 'orderId' property :order_id, as: 'orderId'
property :product_id, as: 'productId' property :product_id, as: 'productId'
property :purchase_state, as: 'purchaseState' property :purchase_state, as: 'purchaseState'
@ -854,36 +745,6 @@ module Google
end end
end end
class Sampling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
property :modulus, :numeric_string => true, as: 'modulus'
property :salt, as: 'salt'
collection :stratified_samplings, as: 'stratifiedSamplings', class: Google::Apis::AndroidpublisherV3::StratifiedSampling, decorator: Google::Apis::AndroidpublisherV3::StratifiedSampling::Representation
property :use_android_id, as: 'useAndroidId'
end
end
class StratifiedSampling
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :mod_ranges, as: 'modRanges', class: Google::Apis::AndroidpublisherV3::ModRange, decorator: Google::Apis::AndroidpublisherV3::ModRange::Representation
property :stratum, as: 'stratum', class: Google::Apis::AndroidpublisherV3::Stratum, decorator: Google::Apis::AndroidpublisherV3::Stratum::Representation
end
end
class Stratum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :brand, as: 'brand'
end
end
class SubscriptionCancelSurveyResult class SubscriptionCancelSurveyResult
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -929,6 +790,8 @@ module Google
property :kind, as: 'kind' property :kind, as: 'kind'
property :linked_purchase_token, as: 'linkedPurchaseToken' property :linked_purchase_token, as: 'linkedPurchaseToken'
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
property :order_id, as: 'orderId' property :order_id, as: 'orderId'
property :payment_state, as: 'paymentState' property :payment_state, as: 'paymentState'
property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros' property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros'
@ -967,28 +830,9 @@ module Google
end end
end end
class SystemApkVariantsCreateRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :device_spec, as: 'deviceSpec', class: Google::Apis::AndroidpublisherV3::DeviceSpec, decorator: Google::Apis::AndroidpublisherV3::DeviceSpec::Representation
end
end
class SystemApkVariantsListResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :variants, as: 'variants', class: Google::Apis::AndroidpublisherV3::Variant, decorator: Google::Apis::AndroidpublisherV3::Variant::Representation
end
end
class Testers class Testers
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :auto_enrolled_android_groups, as: 'autoEnrolledAndroidGroups'
collection :auto_enrolled_google_groups, as: 'autoEnrolledGoogleGroups'
collection :excluded_google_groups, as: 'excludedGoogleGroups'
collection :google_groups, as: 'googleGroups' collection :google_groups, as: 'googleGroups'
end end
end end
@ -1021,54 +865,18 @@ module Google
class TrackRelease class TrackRelease
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :controls, as: 'controls', class: Google::Apis::AndroidpublisherV3::Control, decorator: Google::Apis::AndroidpublisherV3::Control::Representation
property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation
property :in_app_update_priority, as: 'inAppUpdatePriority' property :in_app_update_priority, as: 'inAppUpdatePriority'
property :name, as: 'name' property :name, as: 'name'
collection :pinned_versions, as: 'pinnedVersions', class: Google::Apis::AndroidpublisherV3::TrackReleasePin, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePin::Representation
collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation
property :rollback_enabled, as: 'rollbackEnabled'
property :sampling, as: 'sampling', class: Google::Apis::AndroidpublisherV3::Sampling, decorator: Google::Apis::AndroidpublisherV3::Sampling::Representation
property :status, as: 'status' property :status, as: 'status'
property :user_fraction, as: 'userFraction' property :user_fraction, as: 'userFraction'
collection :version_codes, as: 'versionCodes' collection :version_codes, as: 'versionCodes'
end end
end end
class TrackReleasePin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :targetings, as: 'targetings', class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting::Representation
collection :version_codes, as: 'versionCodes'
end
end
class TrackReleasePinPinTargeting
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :country_codes, as: 'countryCodes'
collection :devices, as: 'devices', class: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin, decorator: Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin::Representation
collection :phonesky_versions, as: 'phoneskyVersions'
collection :sdk_versions, as: 'sdkVersions'
end
end
class TrackReleasePinPinTargetingDevicePin
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :brand, as: 'brand'
property :device, as: 'device'
property :product, as: 'product'
end
end
class TracksListResponse class TracksListResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1098,12 +906,11 @@ module Google
end end
end end
class Variant class UsesPermission
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :device_spec, as: 'deviceSpec', class: Google::Apis::AndroidpublisherV3::DeviceSpec, decorator: Google::Apis::AndroidpublisherV3::DeviceSpec::Representation property :max_sdk_version, as: 'maxSdkVersion'
property :name, as: 'name'
property :variant_id, as: 'variantId'
end end
end end

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@ module Google
# @see https://cloud.google.com/apigee-api-management/ # @see https://cloud.google.com/apigee-api-management/
module ApigeeV1 module ApigeeV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200521' REVISION = '20200604'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2807,6 +2807,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The project ID associated with the Apigee organization.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# Message for compatibility with legacy Edge specification for Java Properties # Message for compatibility with legacy Edge specification for Java Properties
# object in JSON. # object in JSON.
# Corresponds to the JSON property `properties` # Corresponds to the JSON property `properties`
@ -2849,6 +2854,7 @@ module Google
@environments = args[:environments] if args.key?(:environments) @environments = args[:environments] if args.key?(:environments)
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at) @last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@project_id = args[:project_id] if args.key?(:project_id)
@properties = args[:properties] if args.key?(:properties) @properties = args[:properties] if args.key?(:properties)
@runtime_type = args[:runtime_type] if args.key?(:runtime_type) @runtime_type = args[:runtime_type] if args.key?(:runtime_type)
@subscription_type = args[:subscription_type] if args.key?(:subscription_type) @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
@ -4269,7 +4275,7 @@ module Google
# ` # `
# "audit_configs": [ # "audit_configs": [
# ` # `
# "service": "allServices" # "service": "allServices",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ",
@ -4278,18 +4284,18 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# `, # `,
# ` # `
# "log_type": "ADMIN_READ", # "log_type": "ADMIN_READ"
# ` # `
# ] # ]
# `, # `,
# ` # `
# "service": "sampleservice.googleapis.com" # "service": "sampleservice.googleapis.com",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ"
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE",
@ -4341,7 +4347,7 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# ` # `
# ] # ]
# ` # `

View File

@ -1365,6 +1365,7 @@ module Google
collection :environments, as: 'environments' collection :environments, as: 'environments'
property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt' property :last_modified_at, :numeric_string => true, as: 'lastModifiedAt'
property :name, as: 'name' property :name, as: 'name'
property :project_id, as: 'projectId'
property :properties, as: 'properties', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties::Representation property :properties, as: 'properties', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Properties::Representation
property :runtime_type, as: 'runtimeType' property :runtime_type, as: 'runtimeType'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/ # @see https://cloud.google.com/
module OsconfigV1 module OsconfigV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200504' REVISION = '20200601'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -626,7 +626,7 @@ module Google
# A high level representation of a patch job that is either in progress # A high level representation of a patch job that is either in progress
# or has completed. # or has completed.
# Instances details are not included in the job. To paginate through instance # Instance details are not included in the job. To paginate through instance
# details, use ListPatchJobInstanceDetails. # details, use ListPatchJobInstanceDetails.
# For more information about patch jobs, see # For more information about patch jobs, see
# [Creating patch # [Creating patch
@ -709,7 +709,7 @@ module Google
# @return [Float] # @return [Float]
attr_accessor :percent_complete attr_accessor :percent_complete
# The current state of the PatchJob . # The current state of the PatchJob.
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iam/ # @see https://cloud.google.com/iam/
module PolicytroubleshooterV1 module PolicytroubleshooterV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200504' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -383,7 +383,7 @@ module Google
# ` # `
# "audit_configs": [ # "audit_configs": [
# ` # `
# "service": "allServices" # "service": "allServices",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ",
@ -392,18 +392,18 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# `, # `,
# ` # `
# "log_type": "ADMIN_READ", # "log_type": "ADMIN_READ"
# ` # `
# ] # ]
# `, # `,
# ` # `
# "service": "sampleservice.googleapis.com" # "service": "sampleservice.googleapis.com",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ"
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE",
@ -455,7 +455,7 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# ` # `
# ] # ]
# ` # `

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iam/ # @see https://cloud.google.com/iam/
module PolicytroubleshooterV1beta module PolicytroubleshooterV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200504' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -382,7 +382,7 @@ module Google
# ` # `
# "audit_configs": [ # "audit_configs": [
# ` # `
# "service": "allServices" # "service": "allServices",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ",
@ -391,18 +391,18 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# `, # `,
# ` # `
# "log_type": "ADMIN_READ", # "log_type": "ADMIN_READ"
# ` # `
# ] # ]
# `, # `,
# ` # `
# "service": "sampleservice.googleapis.com" # "service": "sampleservice.googleapis.com",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ"
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE",
@ -454,7 +454,7 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# ` # `
# ] # ]
# ` # `

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1 module SecuritycenterV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200519' REVISION = '20200605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -131,7 +131,7 @@ module Google
# ` # `
# "audit_configs": [ # "audit_configs": [
# ` # `
# "service": "allServices" # "service": "allServices",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ",
@ -140,18 +140,18 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# `, # `,
# ` # `
# "log_type": "ADMIN_READ", # "log_type": "ADMIN_READ"
# ` # `
# ] # ]
# `, # `,
# ` # `
# "service": "sampleservice.googleapis.com" # "service": "sampleservice.googleapis.com",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ"
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE",
@ -203,7 +203,7 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# ` # `
# ] # ]
# ` # `
@ -567,6 +567,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Resource]
attr_accessor :resource
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -575,6 +580,51 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
end
end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end end
end end
@ -843,6 +893,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource]
attr_accessor :resource
# Wrapper over asset object that also captures the state change for the asset # Wrapper over asset object that also captures the state change for the asset
# e.g. if it was a newly created asset vs updated or deleted asset. # e.g. if it was a newly created asset vs updated or deleted asset.
# Corresponds to the JSON property `temporalAsset` # Corresponds to the JSON property `temporalAsset`
@ -857,10 +912,55 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset) @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
end end
end end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1p1beta1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end
end
# Response of asset discovery run # Response of asset discovery run
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -88,6 +88,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -124,6 +130,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -421,6 +433,19 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::Finding, decorator: Google::Apis::SecuritycenterV1::Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::Finding, decorator: Google::Apis::SecuritycenterV1::Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1Resource::Representation
end
end
class GoogleCloudSecuritycenterV1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end end
end end
@ -486,11 +511,24 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
end end
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1beta1 module SecuritycenterV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200519' REVISION = '20200605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -122,7 +122,7 @@ module Google
# ` # `
# "audit_configs": [ # "audit_configs": [
# ` # `
# "service": "allServices" # "service": "allServices",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ",
@ -131,18 +131,18 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# `, # `,
# ` # `
# "log_type": "ADMIN_READ", # "log_type": "ADMIN_READ"
# ` # `
# ] # ]
# `, # `,
# ` # `
# "service": "sampleservice.googleapis.com" # "service": "sampleservice.googleapis.com",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ"
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE",
@ -194,7 +194,7 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# ` # `
# ] # ]
# ` # `
@ -571,6 +571,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource]
attr_accessor :resource
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -579,6 +584,51 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
end
end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end end
end end
@ -988,6 +1038,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
attr_accessor :resource
# Wrapper over asset object that also captures the state change for the asset # Wrapper over asset object that also captures the state change for the asset
# e.g. if it was a newly created asset vs updated or deleted asset. # e.g. if it was a newly created asset vs updated or deleted asset.
# Corresponds to the JSON property `temporalAsset` # Corresponds to the JSON property `temporalAsset`
@ -1002,10 +1057,55 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset) @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
end end
end end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1p1beta1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end
end
# Response of asset discovery run # Response of asset discovery run
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -94,6 +94,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -142,6 +148,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -407,6 +419,19 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta1::Finding, decorator: Google::Apis::SecuritycenterV1beta1::Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta1::Finding, decorator: Google::Apis::SecuritycenterV1beta1::Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1Resource::Representation
end
end
class GoogleCloudSecuritycenterV1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end end
end end
@ -497,11 +522,24 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
end end
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1p1alpha1 module SecuritycenterV1p1alpha1
VERSION = 'V1p1alpha1' VERSION = 'V1p1alpha1'
REVISION = '20200410' REVISION = '20200605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -162,6 +162,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource]
attr_accessor :resource
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -170,6 +175,51 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
end
end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end end
end end
@ -438,6 +488,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource]
attr_accessor :resource
# Wrapper over asset object that also captures the state change for the asset # Wrapper over asset object that also captures the state change for the asset
# e.g. if it was a newly created asset vs updated or deleted asset. # e.g. if it was a newly created asset vs updated or deleted asset.
# Corresponds to the JSON property `temporalAsset` # Corresponds to the JSON property `temporalAsset`
@ -452,10 +507,55 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset) @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
end end
end end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1p1beta1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end
end
# Response of asset discovery run # Response of asset discovery run
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -76,6 +82,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -153,6 +165,19 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1Resource::Representation
end
end
class GoogleCloudSecuritycenterV1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end end
end end
@ -218,11 +243,24 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1alpha1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
end end
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1p1beta1 module SecuritycenterV1p1beta1
VERSION = 'V1p1beta1' VERSION = 'V1p1beta1'
REVISION = '20200519' REVISION = '20200605'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -59,7 +59,7 @@ module Google
# ` # `
# "audit_configs": [ # "audit_configs": [
# ` # `
# "service": "allServices" # "service": "allServices",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ",
@ -68,18 +68,18 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# `, # `,
# ` # `
# "log_type": "ADMIN_READ", # "log_type": "ADMIN_READ"
# ` # `
# ] # ]
# `, # `,
# ` # `
# "service": "sampleservice.googleapis.com" # "service": "sampleservice.googleapis.com",
# "audit_log_configs": [ # "audit_log_configs": [
# ` # `
# "log_type": "DATA_READ", # "log_type": "DATA_READ"
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE",
@ -131,7 +131,7 @@ module Google
# ] # ]
# `, # `,
# ` # `
# "log_type": "DATA_WRITE", # "log_type": "DATA_WRITE"
# ` # `
# ] # ]
# ` # `
@ -495,6 +495,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource]
attr_accessor :resource
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -503,6 +508,51 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
end
end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end end
end end
@ -771,6 +821,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :notification_config_name attr_accessor :notification_config_name
# Information related to the Google Cloud resource.
# Corresponds to the JSON property `resource`
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
attr_accessor :resource
# Wrapper over asset object that also captures the state change for the asset # Wrapper over asset object that also captures the state change for the asset
# e.g. if it was a newly created asset vs updated or deleted asset. # e.g. if it was a newly created asset vs updated or deleted asset.
# Corresponds to the JSON property `temporalAsset` # Corresponds to the JSON property `temporalAsset`
@ -785,10 +840,55 @@ module Google
def update!(**args) def update!(**args)
@finding = args[:finding] if args.key?(:finding) @finding = args[:finding] if args.key?(:finding)
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name) @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
@resource = args[:resource] if args.key?(:resource)
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset) @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
end end
end end
# Information related to the Google Cloud resource.
class GoogleCloudSecuritycenterV1p1beta1Resource
include Google::Apis::Core::Hashable
# The full resource name of the resource. See:
# https://cloud.google.com/apis/design/resource_names#full_resource_name
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The full resource name of resource's parent.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent
# The human readable name of resource's parent.
# Corresponds to the JSON property `parentDisplayName`
# @return [String]
attr_accessor :parent_display_name
# The full resource name of project that the resource belongs to.
# Corresponds to the JSON property `project`
# @return [String]
attr_accessor :project
# The human readable name of project that the resource belongs to.
# Corresponds to the JSON property `projectDisplayName`
# @return [String]
attr_accessor :project_display_name
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@parent = args[:parent] if args.key?(:parent)
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
@project = args[:project] if args.key?(:project)
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
end
end
# Response of asset discovery run # Response of asset discovery run
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable

View File

@ -82,6 +82,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -118,6 +124,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -387,6 +399,19 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource::Representation
end
end
class GoogleCloudSecuritycenterV1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end end
end end
@ -452,11 +477,24 @@ module Google
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
property :notification_config_name, as: 'notificationConfigName' property :notification_config_name, as: 'notificationConfigName'
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
end end
end end
class GoogleCloudSecuritycenterV1p1beta1Resource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :parent, as: 'parent'
property :parent_display_name, as: 'parentDisplayName'
property :project, as: 'project'
property :project_display_name, as: 'projectDisplayName'
end
end
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200603' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1124,11 +1124,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of features enabled on this endpoint.
# Corresponds to the JSON property `features`
# @return [Array<String>]
attr_accessor :features
# The canonical name of this endpoint. # The canonical name of this endpoint.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1151,7 +1146,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)
end end

View File

@ -806,7 +806,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'
end end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1beta1 module ServiceconsumermanagementV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200603' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -952,11 +952,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of features enabled on this endpoint.
# Corresponds to the JSON property `features`
# @return [Array<String>]
attr_accessor :features
# The canonical name of this endpoint. # The canonical name of this endpoint.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -979,7 +974,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)
end end
@ -3560,6 +3554,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The units in which the metric value is reported.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -3570,6 +3569,7 @@ module Google
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@unit = args[:unit] if args.key?(:unit)
end end
end end

View File

@ -686,7 +686,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'
end end
@ -1137,6 +1136,7 @@ module Google
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :metric, as: 'metric' property :metric, as: 'metric'
property :name, as: 'name' property :name, as: 'name'
property :unit, as: 'unit'
end end
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1 module ServicenetworkingV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200519' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1437,11 +1437,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of features enabled on this endpoint.
# Corresponds to the JSON property `features`
# @return [Array<String>]
attr_accessor :features
# The canonical name of this endpoint. # The canonical name of this endpoint.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1464,7 +1459,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)
end end

View File

@ -874,7 +874,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'
end end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta module ServicenetworkingV1beta
VERSION = 'V1beta' VERSION = 'V1beta'
REVISION = '20200519' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1220,11 +1220,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of features enabled on this endpoint.
# Corresponds to the JSON property `features`
# @return [Array<String>]
attr_accessor :features
# The canonical name of this endpoint. # The canonical name of this endpoint.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1247,7 +1242,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)
end end

View File

@ -722,7 +722,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'
end end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1 module ServiceusageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200603' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1250,11 +1250,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of features enabled on this endpoint.
# Corresponds to the JSON property `features`
# @return [Array<String>]
attr_accessor :features
# The canonical name of this endpoint. # The canonical name of this endpoint.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1277,7 +1272,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)
end end

View File

@ -782,7 +782,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'
end end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/ # @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1 module ServiceusageV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200603' REVISION = '20200606'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -804,6 +804,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# The units in which the metric value is reported.
# Corresponds to the JSON property `unit`
# @return [String]
attr_accessor :unit
def initialize(**args) def initialize(**args)
update!(**args) update!(**args)
end end
@ -814,6 +819,7 @@ module Google
@display_name = args[:display_name] if args.key?(:display_name) @display_name = args[:display_name] if args.key?(:display_name)
@metric = args[:metric] if args.key?(:metric) @metric = args[:metric] if args.key?(:metric)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@unit = args[:unit] if args.key?(:unit)
end end
end end
@ -1319,11 +1325,6 @@ module Google
attr_accessor :allow_cors attr_accessor :allow_cors
alias_method :allow_cors?, :allow_cors alias_method :allow_cors?, :allow_cors
# The list of features enabled on this endpoint.
# Corresponds to the JSON property `features`
# @return [Array<String>]
attr_accessor :features
# The canonical name of this endpoint. # The canonical name of this endpoint.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
@ -1346,7 +1347,6 @@ module Google
def update!(**args) def update!(**args)
@aliases = args[:aliases] if args.key?(:aliases) @aliases = args[:aliases] if args.key?(:aliases)
@allow_cors = args[:allow_cors] if args.key?(:allow_cors) @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
@features = args[:features] if args.key?(:features)
@name = args[:name] if args.key?(:name) @name = args[:name] if args.key?(:name)
@target = args[:target] if args.key?(:target) @target = args[:target] if args.key?(:target)
end end

View File

@ -703,6 +703,7 @@ module Google
property :display_name, as: 'displayName' property :display_name, as: 'displayName'
property :metric, as: 'metric' property :metric, as: 'metric'
property :name, as: 'name' property :name, as: 'name'
property :unit, as: 'unit'
end end
end end
@ -827,7 +828,6 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases' collection :aliases, as: 'aliases'
property :allow_cors, as: 'allowCors' property :allow_cors, as: 'allowCors'
collection :features, as: 'features'
property :name, as: 'name' property :name, as: 'name'
property :target, as: 'target' property :target, as: 'target'
end end