google-apis-accesscontextmanager_v1 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: c73d722325860fe8514589136e4e246f980f5717d417669b0654ee935cf0326f
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 1e6ca5d62f05f16e1588f84c8470a4af5f26a767109456a89d567523db9e52c5
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 423c711a49f54360658b6113e87ab195885cb9afd336da7b773e7006791101964b8600a4eb7de949353e334554dd95f5d8afca306c2aee5baf9fb44b665d873d
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 97fc05f847f17bc4147485e6bb129691853b7c7bd95253809bfd11e516186f5e7df653b8e6b488968fde1345c9d3a1dfea75a56840afcdf556a81bf4fca1f4e3
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| 
         @@ -407,9 +407,9 @@ module Google 
     | 
|
| 
       407 
407 
     | 
    
         | 
| 
       408 
408 
     | 
    
         
             
                  # Defines the conditions under which an EgressPolicy matches a request.
         
     | 
| 
       409 
409 
     | 
    
         
             
                  # Conditions based on information about the source of the request. Note that if
         
     | 
| 
       410 
     | 
    
         
            -
                  # the destination of the request is protected by a ServicePerimeter, then 
     | 
| 
       411 
     | 
    
         
            -
                  # ServicePerimeter must have an IngressPolicy which allows access in order 
     | 
| 
       412 
     | 
    
         
            -
                  # this request to succeed.
         
     | 
| 
      
 410 
     | 
    
         
            +
                  # the destination of the request is also protected by a ServicePerimeter, then
         
     | 
| 
      
 411 
     | 
    
         
            +
                  # that ServicePerimeter must have an IngressPolicy which allows access in order
         
     | 
| 
      
 412 
     | 
    
         
            +
                  # for this request to succeed.
         
     | 
| 
       413 
413 
     | 
    
         
             
                  class EgressFrom
         
     | 
| 
       414 
414 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       415 
415 
     | 
    
         | 
| 
         @@ -455,9 +455,9 @@ module Google 
     | 
|
| 
       455 
455 
     | 
    
         | 
| 
       456 
456 
     | 
    
         
             
                    # Defines the conditions under which an EgressPolicy matches a request.
         
     | 
| 
       457 
457 
     | 
    
         
             
                    # Conditions based on information about the source of the request. Note that if
         
     | 
| 
       458 
     | 
    
         
            -
                    # the destination of the request is protected by a ServicePerimeter, then 
     | 
| 
       459 
     | 
    
         
            -
                    # ServicePerimeter must have an IngressPolicy which allows access in order 
     | 
| 
       460 
     | 
    
         
            -
                    # this request to succeed.
         
     | 
| 
      
 458 
     | 
    
         
            +
                    # the destination of the request is also protected by a ServicePerimeter, then
         
     | 
| 
      
 459 
     | 
    
         
            +
                    # that ServicePerimeter must have an IngressPolicy which allows access in order
         
     | 
| 
      
 460 
     | 
    
         
            +
                    # for this request to succeed.
         
     | 
| 
       461 
461 
     | 
    
         
             
                    # Corresponds to the JSON property `egressFrom`
         
     | 
| 
       462 
462 
     | 
    
         
             
                    # @return [Google::Apis::AccesscontextmanagerV1::EgressFrom]
         
     | 
| 
       463 
463 
     | 
    
         
             
                    attr_accessor :egress_from
         
     | 
| 
         @@ -465,8 +465,10 @@ module Google 
     | 
|
| 
       465 
465 
     | 
    
         
             
                    # Defines the conditions under which an EgressPolicy matches a request.
         
     | 
| 
       466 
466 
     | 
    
         
             
                    # Conditions are based on information about the ApiOperation intended to be
         
     | 
| 
       467 
467 
     | 
    
         
             
                    # performed on the `resources` specified. Note that if the destination of the
         
     | 
| 
       468 
     | 
    
         
            -
                    # request is protected by a ServicePerimeter, then that ServicePerimeter 
     | 
| 
       469 
     | 
    
         
            -
                    # have an IngressPolicy which allows access in order for this request to 
     | 
| 
      
 468 
     | 
    
         
            +
                    # request is also protected by a ServicePerimeter, then that ServicePerimeter
         
     | 
| 
      
 469 
     | 
    
         
            +
                    # must have an IngressPolicy which allows access in order for this request to
         
     | 
| 
      
 470 
     | 
    
         
            +
                    # succeed. The request must match `operations` AND `resources` fields in order
         
     | 
| 
      
 471 
     | 
    
         
            +
                    # to be allowed egress out of the perimeter.
         
     | 
| 
       470 
472 
     | 
    
         
             
                    # Corresponds to the JSON property `egressTo`
         
     | 
| 
       471 
473 
     | 
    
         
             
                    # @return [Google::Apis::AccesscontextmanagerV1::EgressTo]
         
     | 
| 
       472 
474 
     | 
    
         
             
                    attr_accessor :egress_to
         
     | 
| 
         @@ -485,21 +487,25 @@ module Google 
     | 
|
| 
       485 
487 
     | 
    
         
             
                  # Defines the conditions under which an EgressPolicy matches a request.
         
     | 
| 
       486 
488 
     | 
    
         
             
                  # Conditions are based on information about the ApiOperation intended to be
         
     | 
| 
       487 
489 
     | 
    
         
             
                  # performed on the `resources` specified. Note that if the destination of the
         
     | 
| 
       488 
     | 
    
         
            -
                  # request is protected by a ServicePerimeter, then that ServicePerimeter 
     | 
| 
       489 
     | 
    
         
            -
                  # have an IngressPolicy which allows access in order for this request to 
     | 
| 
      
 490 
     | 
    
         
            +
                  # request is also protected by a ServicePerimeter, then that ServicePerimeter
         
     | 
| 
      
 491 
     | 
    
         
            +
                  # must have an IngressPolicy which allows access in order for this request to
         
     | 
| 
      
 492 
     | 
    
         
            +
                  # succeed. The request must match `operations` AND `resources` fields in order
         
     | 
| 
      
 493 
     | 
    
         
            +
                  # to be allowed egress out of the perimeter.
         
     | 
| 
       490 
494 
     | 
    
         
             
                  class EgressTo
         
     | 
| 
       491 
495 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       492 
496 
     | 
    
         | 
| 
       493 
     | 
    
         
            -
                    # A list of ApiOperations  
     | 
| 
       494 
     | 
    
         
            -
                    # it  
     | 
| 
      
 497 
     | 
    
         
            +
                    # A list of ApiOperations allowed to be performed by the sources specified in
         
     | 
| 
      
 498 
     | 
    
         
            +
                    # the corresponding EgressFrom. A request matches if it uses an operation/
         
     | 
| 
      
 499 
     | 
    
         
            +
                    # service in this list.
         
     | 
| 
       495 
500 
     | 
    
         
             
                    # Corresponds to the JSON property `operations`
         
     | 
| 
       496 
501 
     | 
    
         
             
                    # @return [Array<Google::Apis::AccesscontextmanagerV1::ApiOperation>]
         
     | 
| 
       497 
502 
     | 
    
         
             
                    attr_accessor :operations
         
     | 
| 
       498 
503 
     | 
    
         | 
| 
       499 
     | 
    
         
            -
                    # A list of resources, currently only projects in the form `projects/`, that
         
     | 
| 
       500 
     | 
    
         
            -
                    #  
     | 
| 
       501 
     | 
    
         
            -
                    #  
     | 
| 
       502 
     | 
    
         
            -
                    #  
     | 
| 
      
 504 
     | 
    
         
            +
                    # A list of resources, currently only projects in the form `projects/`, that are
         
     | 
| 
      
 505 
     | 
    
         
            +
                    # allowed to be accessed by sources defined in the corresponding EgressFrom. A
         
     | 
| 
      
 506 
     | 
    
         
            +
                    # request matches if it contains a resource in this list. If `*` is specified
         
     | 
| 
      
 507 
     | 
    
         
            +
                    # for `resources`, then this EgressTo rule will authorize access to all
         
     | 
| 
      
 508 
     | 
    
         
            +
                    # resources outside the perimeter.
         
     | 
| 
       503 
509 
     | 
    
         
             
                    # Corresponds to the JSON property `resources`
         
     | 
| 
       504 
510 
     | 
    
         
             
                    # @return [Array<String>]
         
     | 
| 
       505 
511 
     | 
    
         
             
                    attr_accessor :resources
         
     | 
| 
         @@ -630,7 +636,9 @@ module Google 
     | 
|
| 
       630 
636 
     | 
    
         
             
                  end
         
     | 
| 
       631 
637 
     | 
    
         | 
| 
       632 
638 
     | 
    
         
             
                  # Defines the conditions under which an IngressPolicy matches a request.
         
     | 
| 
       633 
     | 
    
         
            -
                  # Conditions are based on information about the source of the request.
         
     | 
| 
      
 639 
     | 
    
         
            +
                  # Conditions are based on information about the source of the request. The
         
     | 
| 
      
 640 
     | 
    
         
            +
                  # request must satisfy what is defined in `sources` AND identity related fields
         
     | 
| 
      
 641 
     | 
    
         
            +
                  # in order to match.
         
     | 
| 
       634 
642 
     | 
    
         
             
                  class IngressFrom
         
     | 
| 
       635 
643 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       636 
644 
     | 
    
         | 
| 
         @@ -679,14 +687,17 @@ module Google 
     | 
|
| 
       679 
687 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       680 
688 
     | 
    
         | 
| 
       681 
689 
     | 
    
         
             
                    # Defines the conditions under which an IngressPolicy matches a request.
         
     | 
| 
       682 
     | 
    
         
            -
                    # Conditions are based on information about the source of the request.
         
     | 
| 
      
 690 
     | 
    
         
            +
                    # Conditions are based on information about the source of the request. The
         
     | 
| 
      
 691 
     | 
    
         
            +
                    # request must satisfy what is defined in `sources` AND identity related fields
         
     | 
| 
      
 692 
     | 
    
         
            +
                    # in order to match.
         
     | 
| 
       683 
693 
     | 
    
         
             
                    # Corresponds to the JSON property `ingressFrom`
         
     | 
| 
       684 
694 
     | 
    
         
             
                    # @return [Google::Apis::AccesscontextmanagerV1::IngressFrom]
         
     | 
| 
       685 
695 
     | 
    
         
             
                    attr_accessor :ingress_from
         
     | 
| 
       686 
696 
     | 
    
         | 
| 
       687 
697 
     | 
    
         
             
                    # Defines the conditions under which an IngressPolicy matches a request.
         
     | 
| 
       688 
698 
     | 
    
         
             
                    # Conditions are based on information about the ApiOperation intended to be
         
     | 
| 
       689 
     | 
    
         
            -
                    # performed on the  
     | 
| 
      
 699 
     | 
    
         
            +
                    # performed on the target resource of the request. The request must satisfy what
         
     | 
| 
      
 700 
     | 
    
         
            +
                    # is defined in `operations` AND `resources` in order to match.
         
     | 
| 
       690 
701 
     | 
    
         
             
                    # Corresponds to the JSON property `ingressTo`
         
     | 
| 
       691 
702 
     | 
    
         
             
                    # @return [Google::Apis::AccesscontextmanagerV1::IngressTo]
         
     | 
| 
       692 
703 
     | 
    
         
             
                    attr_accessor :ingress_to
         
     | 
| 
         @@ -712,7 +723,8 @@ module Google 
     | 
|
| 
       712 
723 
     | 
    
         
             
                    # cause an error. If no AccessLevel names are listed, resources within the
         
     | 
| 
       713 
724 
     | 
    
         
             
                    # perimeter can only be accessed via Google Cloud calls with request origins
         
     | 
| 
       714 
725 
     | 
    
         
             
                    # within the perimeter. Example: `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`
         
     | 
| 
       715 
     | 
    
         
            -
                    # . If `*` is specified 
     | 
| 
      
 726 
     | 
    
         
            +
                    # . If a single `*` is specified for `access_level`, then all IngressSources
         
     | 
| 
      
 727 
     | 
    
         
            +
                    # will be allowed.
         
     | 
| 
       716 
728 
     | 
    
         
             
                    # Corresponds to the JSON property `accessLevel`
         
     | 
| 
       717 
729 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       718 
730 
     | 
    
         
             
                    attr_accessor :access_level
         
     | 
| 
         @@ -740,22 +752,21 @@ module Google 
     | 
|
| 
       740 
752 
     | 
    
         | 
| 
       741 
753 
     | 
    
         
             
                  # Defines the conditions under which an IngressPolicy matches a request.
         
     | 
| 
       742 
754 
     | 
    
         
             
                  # Conditions are based on information about the ApiOperation intended to be
         
     | 
| 
       743 
     | 
    
         
            -
                  # performed on the  
     | 
| 
      
 755 
     | 
    
         
            +
                  # performed on the target resource of the request. The request must satisfy what
         
     | 
| 
      
 756 
     | 
    
         
            +
                  # is defined in `operations` AND `resources` in order to match.
         
     | 
| 
       744 
757 
     | 
    
         
             
                  class IngressTo
         
     | 
| 
       745 
758 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
       746 
759 
     | 
    
         | 
| 
       747 
     | 
    
         
            -
                    # A list of ApiOperations the sources specified in 
     | 
| 
       748 
     | 
    
         
            -
                    #  
     | 
| 
      
 760 
     | 
    
         
            +
                    # A list of ApiOperations allowed to be performed by the sources specified in
         
     | 
| 
      
 761 
     | 
    
         
            +
                    # corresponding IngressFrom in this ServicePerimeter.
         
     | 
| 
       749 
762 
     | 
    
         
             
                    # Corresponds to the JSON property `operations`
         
     | 
| 
       750 
763 
     | 
    
         
             
                    # @return [Array<Google::Apis::AccesscontextmanagerV1::ApiOperation>]
         
     | 
| 
       751 
764 
     | 
    
         
             
                    attr_accessor :operations
         
     | 
| 
       752 
765 
     | 
    
         | 
| 
       753 
766 
     | 
    
         
             
                    # A list of resources, currently only projects in the form `projects/`,
         
     | 
| 
       754 
767 
     | 
    
         
             
                    # protected by this ServicePerimeter that are allowed to be accessed by sources
         
     | 
| 
       755 
     | 
    
         
            -
                    # defined in the corresponding IngressFrom.  
     | 
| 
       756 
     | 
    
         
            -
                    #  
     | 
| 
       757 
     | 
    
         
            -
                    # rule will authorize access to all resources inside the perimeter, provided
         
     | 
| 
       758 
     | 
    
         
            -
                    # that the request also matches the `operations` field.
         
     | 
| 
      
 768 
     | 
    
         
            +
                    # defined in the corresponding IngressFrom. If a single `*` is specified, then
         
     | 
| 
      
 769 
     | 
    
         
            +
                    # access to all resources inside the perimeter are allowed.
         
     | 
| 
       759 
770 
     | 
    
         
             
                    # Corresponds to the JSON property `resources`
         
     | 
| 
       760 
771 
     | 
    
         
             
                    # @return [Array<String>]
         
     | 
| 
       761 
772 
     | 
    
         
             
                    attr_accessor :resources
         
     | 
| 
         @@ -16,13 +16,13 @@ module Google 
     | 
|
| 
       16 
16 
     | 
    
         
             
              module Apis
         
     | 
| 
       17 
17 
     | 
    
         
             
                module AccesscontextmanagerV1
         
     | 
| 
       18 
18 
     | 
    
         
             
                  # Version of the google-apis-accesscontextmanager_v1 gem
         
     | 
| 
       19 
     | 
    
         
            -
                  GEM_VERSION = "0. 
     | 
| 
      
 19 
     | 
    
         
            +
                  GEM_VERSION = "0.4.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.2.0"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20210412"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-apis-accesscontextmanager_v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.4.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2021- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2021-05-18 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
         @@ -52,7 +52,7 @@ licenses: 
     | 
|
| 
       52 
52 
     | 
    
         
             
            metadata:
         
     | 
| 
       53 
53 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       54 
54 
     | 
    
         
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-accesscontextmanager_v1/CHANGELOG.md
         
     | 
| 
       55 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0. 
     | 
| 
      
 55 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-accesscontextmanager_v1/v0.4.0
         
     | 
| 
       56 
56 
     | 
    
         
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-accesscontextmanager_v1
         
     | 
| 
       57 
57 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       58 
58 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
         @@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       69 
69 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       70 
70 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       71 
71 
     | 
    
         
             
            requirements: []
         
     | 
| 
       72 
     | 
    
         
            -
            rubygems_version: 3.2. 
     | 
| 
      
 72 
     | 
    
         
            +
            rubygems_version: 3.2.17
         
     | 
| 
       73 
73 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       74 
74 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       75 
75 
     | 
    
         
             
            summary: Simple REST client for Access Context Manager API V1
         
     |