diff --git a/api_names_out.yaml b/api_names_out.yaml index 89da27d91..cbbad0754 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -249,6 +249,10 @@ "/accesscontextmanager:v1/AccessPolicy/parent": parent "/accesscontextmanager:v1/AccessPolicy/title": title "/accesscontextmanager:v1/AccessPolicy/updateTime": update_time +"/accesscontextmanager:v1/ApiOperation": api_operation +"/accesscontextmanager:v1/ApiOperation/methodSelectors": method_selectors +"/accesscontextmanager:v1/ApiOperation/methodSelectors/method_selector": method_selector +"/accesscontextmanager:v1/ApiOperation/serviceName": service_name "/accesscontextmanager:v1/BasicLevel": basic_level "/accesscontextmanager:v1/BasicLevel/combiningFunction": combining_function "/accesscontextmanager:v1/BasicLevel/conditions": conditions @@ -282,6 +286,18 @@ "/accesscontextmanager:v1/DevicePolicy/requireAdminApproval": require_admin_approval "/accesscontextmanager:v1/DevicePolicy/requireCorpOwned": require_corp_owned "/accesscontextmanager:v1/DevicePolicy/requireScreenlock": require_screenlock +"/accesscontextmanager:v1/EgressFrom": egress_from +"/accesscontextmanager:v1/EgressFrom/identities": identities +"/accesscontextmanager:v1/EgressFrom/identities/identity": identity +"/accesscontextmanager:v1/EgressFrom/identityType": identity_type +"/accesscontextmanager:v1/EgressPolicy": egress_policy +"/accesscontextmanager:v1/EgressPolicy/egressFrom": egress_from +"/accesscontextmanager:v1/EgressPolicy/egressTo": egress_to +"/accesscontextmanager:v1/EgressTo": egress_to +"/accesscontextmanager:v1/EgressTo/operations": operations +"/accesscontextmanager:v1/EgressTo/operations/operation": operation +"/accesscontextmanager:v1/EgressTo/resources": resources +"/accesscontextmanager:v1/EgressTo/resources/resource": resource "/accesscontextmanager:v1/Empty": empty "/accesscontextmanager:v1/Expr": expr "/accesscontextmanager:v1/Expr/description": description @@ -293,6 +309,23 @@ "/accesscontextmanager:v1/GcpUserAccessBinding/accessLevels/access_level": access_level "/accesscontextmanager:v1/GcpUserAccessBinding/groupKey": group_key "/accesscontextmanager:v1/GcpUserAccessBinding/name": name +"/accesscontextmanager:v1/IngressFrom": ingress_from +"/accesscontextmanager:v1/IngressFrom/identities": identities +"/accesscontextmanager:v1/IngressFrom/identities/identity": identity +"/accesscontextmanager:v1/IngressFrom/identityType": identity_type +"/accesscontextmanager:v1/IngressFrom/sources": sources +"/accesscontextmanager:v1/IngressFrom/sources/source": source +"/accesscontextmanager:v1/IngressPolicy": ingress_policy +"/accesscontextmanager:v1/IngressPolicy/ingressFrom": ingress_from +"/accesscontextmanager:v1/IngressPolicy/ingressTo": ingress_to +"/accesscontextmanager:v1/IngressSource": ingress_source +"/accesscontextmanager:v1/IngressSource/accessLevel": access_level +"/accesscontextmanager:v1/IngressSource/resource": resource +"/accesscontextmanager:v1/IngressTo": ingress_to +"/accesscontextmanager:v1/IngressTo/operations": operations +"/accesscontextmanager:v1/IngressTo/operations/operation": operation +"/accesscontextmanager:v1/IngressTo/resources": resources +"/accesscontextmanager:v1/IngressTo/resources/resource": resource "/accesscontextmanager:v1/ListAccessLevelsResponse": list_access_levels_response "/accesscontextmanager:v1/ListAccessLevelsResponse/accessLevels": access_levels "/accesscontextmanager:v1/ListAccessLevelsResponse/accessLevels/access_level": access_level @@ -313,6 +346,9 @@ "/accesscontextmanager:v1/ListServicePerimetersResponse/nextPageToken": next_page_token "/accesscontextmanager:v1/ListServicePerimetersResponse/servicePerimeters": service_perimeters "/accesscontextmanager:v1/ListServicePerimetersResponse/servicePerimeters/service_perimeter": service_perimeter +"/accesscontextmanager:v1/MethodSelector": method_selector +"/accesscontextmanager:v1/MethodSelector/method": method_prop +"/accesscontextmanager:v1/MethodSelector/permission": permission "/accesscontextmanager:v1/Operation": operation "/accesscontextmanager:v1/Operation/done": done "/accesscontextmanager:v1/Operation/error": error @@ -352,6 +388,10 @@ "/accesscontextmanager:v1/ServicePerimeterConfig": service_perimeter_config "/accesscontextmanager:v1/ServicePerimeterConfig/accessLevels": access_levels "/accesscontextmanager:v1/ServicePerimeterConfig/accessLevels/access_level": access_level +"/accesscontextmanager:v1/ServicePerimeterConfig/egressPolicies": egress_policies +"/accesscontextmanager:v1/ServicePerimeterConfig/egressPolicies/egress_policy": egress_policy +"/accesscontextmanager:v1/ServicePerimeterConfig/ingressPolicies": ingress_policies +"/accesscontextmanager:v1/ServicePerimeterConfig/ingressPolicies/ingress_policy": ingress_policy "/accesscontextmanager:v1/ServicePerimeterConfig/resources": resources "/accesscontextmanager:v1/ServicePerimeterConfig/resources/resource": resource "/accesscontextmanager:v1/ServicePerimeterConfig/restrictedServices": restricted_services diff --git a/generated/google/apis/accesscontextmanager_v1.rb b/generated/google/apis/accesscontextmanager_v1.rb index 2c9a646af..fd8ddbd44 100644 --- a/generated/google/apis/accesscontextmanager_v1.rb +++ b/generated/google/apis/accesscontextmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/access-context-manager/docs/reference/rest/ module AccesscontextmanagerV1 VERSION = 'V1' - REVISION = '20200927' + REVISION = '20201210' # 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/accesscontextmanager_v1/classes.rb b/generated/google/apis/accesscontextmanager_v1/classes.rb index fdb4e18fc..34849ab30 100644 --- a/generated/google/apis/accesscontextmanager_v1/classes.rb +++ b/generated/google/apis/accesscontextmanager_v1/classes.rb @@ -118,6 +118,36 @@ module Google end end + # Identification for an API Operation. + class ApiOperation + include Google::Apis::Core::Hashable + + # API methods or permissions to allow. Method or permission must belong to the + # service specified by `service_name` field. A single MethodSelector entry with ` + # *` specified for the `method` field will allow all methods AND permissions for + # the service specified in `service_name`. + # Corresponds to the JSON property `methodSelectors` + # @return [Array] + attr_accessor :method_selectors + + # The name of the API whose methods or permissions the IngressPolicy or + # EgressPolicy want to allow. A single ApiOperation with `service_name` field + # set to `*` will allow all methods AND permissions for all services. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_selectors = args[:method_selectors] if args.key?(:method_selectors) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + # `BasicLevel` is an `AccessLevel` using a set of recommended features. class BasicLevel include Google::Apis::Core::Hashable @@ -375,6 +405,116 @@ module Google end end + # Defines the conditions under which an EgressPolicy matches a request. + # Conditions based on information about the source of the request. Note that if + # the destination of the request is protected by a ServicePerimeter, then that + # ServicePerimeter must have an IngressPolicy which allows access in order for + # this request to succeed. + class EgressFrom + include Google::Apis::Core::Hashable + + # A list of identities that are allowed access through this [EgressPolicy]. + # Should be in the format of email address. The email address should represent + # individual user or service account only. + # Corresponds to the JSON property `identities` + # @return [Array] + attr_accessor :identities + + # Specifies the type of identities that are allowed access to outside the + # perimeter. If left unspecified, then members of `identities` field will be + # allowed access. + # Corresponds to the JSON property `identityType` + # @return [String] + attr_accessor :identity_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @identities = args[:identities] if args.key?(:identities) + @identity_type = args[:identity_type] if args.key?(:identity_type) + end + end + + # Policy for egress from perimeter. EgressPolicies match requests based on ` + # egress_from` and `egress_to` stanzas. For an EgressPolicy to match, both ` + # egress_from` and `egress_to` stanzas must be matched. If an EgressPolicy + # matches a request, the request is allowed to span the ServicePerimeter + # boundary. For example, an EgressPolicy can be used to allow VMs on networks + # within the ServicePerimeter to access a defined set of projects outside the + # perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket + # or query against a BigQuery dataset). EgressPolicies are concerned with the * + # resources* that a request relates as well as the API services and API actions + # being used. They do not related to the direction of data movement. More + # detailed documentation for this concept can be found in the descriptions of + # EgressFrom and EgressTo. + class EgressPolicy + include Google::Apis::Core::Hashable + + # Defines the conditions under which an EgressPolicy matches a request. + # Conditions based on information about the source of the request. Note that if + # the destination of the request is protected by a ServicePerimeter, then that + # ServicePerimeter must have an IngressPolicy which allows access in order for + # this request to succeed. + # Corresponds to the JSON property `egressFrom` + # @return [Google::Apis::AccesscontextmanagerV1::EgressFrom] + attr_accessor :egress_from + + # Defines the conditions under which an EgressPolicy matches a request. + # Conditions are based on information about the ApiOperation intended to be + # performed on the `resources` specified. Note that if the destination of the + # request is protected by a ServicePerimeter, then that ServicePerimeter must + # have an IngressPolicy which allows access in order for this request to succeed. + # Corresponds to the JSON property `egressTo` + # @return [Google::Apis::AccesscontextmanagerV1::EgressTo] + attr_accessor :egress_to + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @egress_from = args[:egress_from] if args.key?(:egress_from) + @egress_to = args[:egress_to] if args.key?(:egress_to) + end + end + + # Defines the conditions under which an EgressPolicy matches a request. + # Conditions are based on information about the ApiOperation intended to be + # performed on the `resources` specified. Note that if the destination of the + # request is protected by a ServicePerimeter, then that ServicePerimeter must + # have an IngressPolicy which allows access in order for this request to succeed. + class EgressTo + include Google::Apis::Core::Hashable + + # A list of ApiOperations that this egress rule applies to. A request matches if + # it contains an operation/service in this list. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # A list of resources, currently only projects in the form `projects/`, that + # match this to stanza. A request matches if it contains a resource in this list. + # If `*` is specified for resources, then this EgressTo rule will authorize + # access to all resources outside the perimeter. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @resources = args[:resources] if args.key?(:resources) + end + end + # A generic empty message that you can re-use to avoid defining duplicated empty # messages in your APIs. A typical example is to use it as the request or the # response type of an API method. For instance: service Foo ` rpc Bar(google. @@ -489,6 +629,148 @@ module Google end end + # Defines the conditions under which an IngressPolicy matches a request. + # Conditions are based on information about the source of the request. + class IngressFrom + include Google::Apis::Core::Hashable + + # A list of identities that are allowed access through this ingress policy. + # Should be in the format of email address. The email address should represent + # individual user or service account only. + # Corresponds to the JSON property `identities` + # @return [Array] + attr_accessor :identities + + # Specifies the type of identities that are allowed access from outside the + # perimeter. If left unspecified, then members of `identities` field will be + # allowed access. + # Corresponds to the JSON property `identityType` + # @return [String] + attr_accessor :identity_type + + # Sources that this IngressPolicy authorizes access from. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @identities = args[:identities] if args.key?(:identities) + @identity_type = args[:identity_type] if args.key?(:identity_type) + @sources = args[:sources] if args.key?(:sources) + end + end + + # Policy for ingress into ServicePerimeter. IngressPolicies match requests based + # on `ingress_from` and `ingress_to` stanzas. For an ingress policy to match, + # both the `ingress_from` and `ingress_to` stanzas must be matched. If an + # IngressPolicy matches a request, the request is allowed through the perimeter + # boundary from outside the perimeter. For example, access from the internet can + # be allowed either based on an AccessLevel or, for traffic hosted on Google + # Cloud, the project of the source network. For access from private networks, + # using the project of the hosting network is required. Individual ingress + # policies can be limited by restricting which services and/or actions they + # match using the `ingress_to` field. + class IngressPolicy + include Google::Apis::Core::Hashable + + # Defines the conditions under which an IngressPolicy matches a request. + # Conditions are based on information about the source of the request. + # Corresponds to the JSON property `ingressFrom` + # @return [Google::Apis::AccesscontextmanagerV1::IngressFrom] + attr_accessor :ingress_from + + # Defines the conditions under which an IngressPolicy matches a request. + # Conditions are based on information about the ApiOperation intended to be + # performed on the destination of the request. + # Corresponds to the JSON property `ingressTo` + # @return [Google::Apis::AccesscontextmanagerV1::IngressTo] + attr_accessor :ingress_to + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ingress_from = args[:ingress_from] if args.key?(:ingress_from) + @ingress_to = args[:ingress_to] if args.key?(:ingress_to) + end + end + + # The source that IngressPolicy authorizes access from. + class IngressSource + include Google::Apis::Core::Hashable + + # An AccessLevel resource name that allow resources within the ServicePerimeters + # to be accessed from the internet. AccessLevels listed must be in the same + # policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will + # cause an error. If no AccessLevel names are listed, resources within the + # perimeter can only be accessed via Google Cloud calls with request origins + # within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL` + # . If `*` is specified, then all IngressSources will be allowed. + # Corresponds to the JSON property `accessLevel` + # @return [String] + attr_accessor :access_level + + # A Google Cloud resource that is allowed to ingress the perimeter. Requests + # from these resources will be allowed to access perimeter data. Currently only + # projects are allowed. Format: `projects/`project_number`` The project may be + # in any Google Cloud organization, not just the organization that the perimeter + # is defined in. `*` is not allowed, the case of allowing all Google Cloud + # resources only is not supported. + # Corresponds to the JSON property `resource` + # @return [String] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @access_level = args[:access_level] if args.key?(:access_level) + @resource = args[:resource] if args.key?(:resource) + end + end + + # Defines the conditions under which an IngressPolicy matches a request. + # Conditions are based on information about the ApiOperation intended to be + # performed on the destination of the request. + class IngressTo + include Google::Apis::Core::Hashable + + # A list of ApiOperations the sources specified in corresponding IngressFrom are + # allowed to perform in this ServicePerimeter. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # A list of resources, currently only projects in the form `projects/`, + # protected by this ServicePerimeter that are allowed to be accessed by sources + # defined in the corresponding IngressFrom. A request matches if it contains a + # resource in this list. If `*` is specified for resources, then this IngressTo + # rule will authorize access to all resources inside the perimeter, provided + # that the request also matches the `operations` field. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @resources = args[:resources] if args.key?(:resources) + end + end + # A response to `ListAccessLevelsRequest`. class ListAccessLevelsResponse include Google::Apis::Core::Hashable @@ -617,6 +899,34 @@ module Google end end + # An allowed method or permission of a service specified in ApiOperation. + class MethodSelector + include Google::Apis::Core::Hashable + + # Value for `method` should be a valid method name for the corresponding ` + # service_name` in ApiOperation. If `*` used as value for `method`, then ALL + # methods and permissions are allowed. + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Value for `permission` should be a valid Cloud IAM permission for the + # corresponding `service_name` in ApiOperation. + # Corresponds to the JSON property `permission` + # @return [String] + attr_accessor :permission + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @permission = args[:permission] if args.key?(:permission) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation @@ -916,6 +1226,20 @@ module Google # @return [Array] attr_accessor :access_levels + # List of EgressPolicies to apply to the perimeter. A perimeter may have + # multiple EgressPolicies, each of which is evaluated separately. Access is + # granted if any EgressPolicy grants it. Must be empty for a perimeter bridge. + # Corresponds to the JSON property `egressPolicies` + # @return [Array] + attr_accessor :egress_policies + + # List of IngressPolicies to apply to the perimeter. A perimeter may have + # multiple IngressPolicies, each of which is evaluated separately. Access is + # granted if any Ingress Policy grants it. Must be empty for a perimeter bridge. + # Corresponds to the JSON property `ingressPolicies` + # @return [Array] + attr_accessor :ingress_policies + # A list of Google Cloud resources that are inside of the service perimeter. # Currently only projects are allowed. Format: `projects/`project_number`` # Corresponds to the JSON property `resources` @@ -941,6 +1265,8 @@ module Google # Update properties of this object def update!(**args) @access_levels = args[:access_levels] if args.key?(:access_levels) + @egress_policies = args[:egress_policies] if args.key?(:egress_policies) + @ingress_policies = args[:ingress_policies] if args.key?(:ingress_policies) @resources = args[:resources] if args.key?(:resources) @restricted_services = args[:restricted_services] if args.key?(:restricted_services) @vpc_accessible_services = args[:vpc_accessible_services] if args.key?(:vpc_accessible_services) diff --git a/generated/google/apis/accesscontextmanager_v1/representations.rb b/generated/google/apis/accesscontextmanager_v1/representations.rb index 73c7efd19..6ca431e5f 100644 --- a/generated/google/apis/accesscontextmanager_v1/representations.rb +++ b/generated/google/apis/accesscontextmanager_v1/representations.rb @@ -34,6 +34,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ApiOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BasicLevel class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +82,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EgressFrom + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EgressPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EgressTo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -94,6 +118,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IngressFrom + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IngressPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IngressSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IngressTo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListAccessLevelsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +172,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class MethodSelector + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -207,6 +261,15 @@ module Google end end + class ApiOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :method_selectors, as: 'methodSelectors', class: Google::Apis::AccesscontextmanagerV1::MethodSelector, decorator: Google::Apis::AccesscontextmanagerV1::MethodSelector::Representation + + property :service_name, as: 'serviceName' + end + end + class BasicLevel # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -271,6 +334,33 @@ module Google end end + class EgressFrom + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :identities, as: 'identities' + property :identity_type, as: 'identityType' + end + end + + class EgressPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :egress_from, as: 'egressFrom', class: Google::Apis::AccesscontextmanagerV1::EgressFrom, decorator: Google::Apis::AccesscontextmanagerV1::EgressFrom::Representation + + property :egress_to, as: 'egressTo', class: Google::Apis::AccesscontextmanagerV1::EgressTo, decorator: Google::Apis::AccesscontextmanagerV1::EgressTo::Representation + + end + end + + class EgressTo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::AccesscontextmanagerV1::ApiOperation, decorator: Google::Apis::AccesscontextmanagerV1::ApiOperation::Representation + + collection :resources, as: 'resources' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -296,6 +386,43 @@ module Google end end + class IngressFrom + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :identities, as: 'identities' + property :identity_type, as: 'identityType' + collection :sources, as: 'sources', class: Google::Apis::AccesscontextmanagerV1::IngressSource, decorator: Google::Apis::AccesscontextmanagerV1::IngressSource::Representation + + end + end + + class IngressPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ingress_from, as: 'ingressFrom', class: Google::Apis::AccesscontextmanagerV1::IngressFrom, decorator: Google::Apis::AccesscontextmanagerV1::IngressFrom::Representation + + property :ingress_to, as: 'ingressTo', class: Google::Apis::AccesscontextmanagerV1::IngressTo, decorator: Google::Apis::AccesscontextmanagerV1::IngressTo::Representation + + end + end + + class IngressSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :access_level, as: 'accessLevel' + property :resource, as: 'resource' + end + end + + class IngressTo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::AccesscontextmanagerV1::ApiOperation, decorator: Google::Apis::AccesscontextmanagerV1::ApiOperation::Representation + + collection :resources, as: 'resources' + end + end + class ListAccessLevelsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -341,6 +468,14 @@ module Google end end + class MethodSelector + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :method_prop, as: 'method' + property :permission, as: 'permission' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -415,6 +550,10 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation collection :access_levels, as: 'accessLevels' + collection :egress_policies, as: 'egressPolicies', class: Google::Apis::AccesscontextmanagerV1::EgressPolicy, decorator: Google::Apis::AccesscontextmanagerV1::EgressPolicy::Representation + + collection :ingress_policies, as: 'ingressPolicies', class: Google::Apis::AccesscontextmanagerV1::IngressPolicy, decorator: Google::Apis::AccesscontextmanagerV1::IngressPolicy::Representation + collection :resources, as: 'resources' collection :restricted_services, as: 'restrictedServices' property :vpc_accessible_services, as: 'vpcAccessibleServices', class: Google::Apis::AccesscontextmanagerV1::VpcAccessibleServices, decorator: Google::Apis::AccesscontextmanagerV1::VpcAccessibleServices::Representation diff --git a/generated/google/apis/accesscontextmanager_v1/synth.metadata b/generated/google/apis/accesscontextmanager_v1/synth.metadata index 429012f74..2a2c5bb29 100644 --- a/generated/google/apis/accesscontextmanager_v1/synth.metadata +++ b/generated/google/apis/accesscontextmanager_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "0ca499593af3b5f4ce042458f0fd780add7ad32f" } } ]