Autogenerated update (2020-02-01)

Update:
- accesscontextmanager_v1beta
- androidpublisher_v3
- cloudfunctions_v1
- compute_alpha
- content_v2_1
- fitness_v1
- prod_tt_sasportal_v1alpha1
- run_v1
- run_v1alpha1
- sasportal_v1alpha1
- serviceconsumermanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- storage_v1beta2
- youtube_partner_v1
This commit is contained in:
Google APIs committed 2020-02-01 00:37:54 +00:00
1 parent 87222398b4
commit dd2ec2965d
41 files changed
+1227 -1717

No files matched your search

@@ -699,8 +699,15 @@ module Google
# @return [Array<String>]
attr_accessor :unrestricted_services
# Specifies how APIs are allowed to communicate within the Service
# Perimeter.
# Corresponds to the JSON property `vpcAccessibleServices`
# @return [Google::Apis::AccesscontextmanagerV1beta::VpcAccessibleServices]
attr_accessor :vpc_accessible_services
# Alpha. Specifies how APIs are allowed to communicate within the Service
# Perimeter.
# This message is DEPRECATED and had been renamed to VpcAccessibleServices
# Corresponds to the JSON property `vpcServiceRestriction`
# @return [Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction]
attr_accessor :vpc_service_restriction
@@ -715,6 +722,7 @@ module Google
@resources = args[:resources] if args.key?(:resources)
@restricted_services = args[:restricted_services] if args.key?(:restricted_services)
@unrestricted_services = args[:unrestricted_services] if args.key?(:unrestricted_services)
@vpc_accessible_services = args[:vpc_accessible_services] if args.key?(:vpc_accessible_services)
@vpc_service_restriction = args[:vpc_service_restriction] if args.key?(:vpc_service_restriction)
end
end
@@ -758,8 +766,38 @@ module Google
end
end
# Specifies how APIs are allowed to communicate within the Service
# Perimeter.
class VpcAccessibleServices
include Google::Apis::Core::Hashable
# The list of APIs usable within the Service Perimeter. Must be empty
# unless 'enable_restriction' is True.
# Corresponds to the JSON property `allowedServices`
# @return [Array<String>]
attr_accessor :allowed_services
# Whether to restrict API calls within the Service Perimeter to the list of
# APIs specified in 'allowed_services'.
# Corresponds to the JSON property `enableRestriction`
# @return [Boolean]
attr_accessor :enable_restriction
alias_method :enable_restriction?, :enable_restriction
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allowed_services = args[:allowed_services] if args.key?(:allowed_services)
@enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
end
end
# Alpha. Specifies how APIs are allowed to communicate within the Service
# Perimeter.
# This message is DEPRECATED and had been renamed to VpcAccessibleServices
class VpcServiceRestriction
include Google::Apis::Core::Hashable
@@ -112,6 +112,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class VpcAccessibleServices
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class VpcServiceRestriction
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -266,6 +272,8 @@ module Google
collection :resources, as: 'resources'
collection :restricted_services, as: 'restrictedServices'
collection :unrestricted_services, as: 'unrestrictedServices'
property :vpc_accessible_services, as: 'vpcAccessibleServices', class: Google::Apis::AccesscontextmanagerV1beta::VpcAccessibleServices, decorator: Google::Apis::AccesscontextmanagerV1beta::VpcAccessibleServices::Representation
property :vpc_service_restriction, as: 'vpcServiceRestriction', class: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction, decorator: Google::Apis::AccesscontextmanagerV1beta::VpcServiceRestriction::Representation
end
@@ -280,6 +288,14 @@ module Google
end
end
class VpcAccessibleServices
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :allowed_services, as: 'allowedServices'
property :enable_restriction, as: 'enableRestriction'
end
end
class VpcServiceRestriction
# @private
class Representation < Google::Apis::Core::JsonRepresentation