Class: Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1p5beta1/classes.rb,
lib/google/apis/cloudasset_v1p5beta1/representations.rb,
lib/google/apis/cloudasset_v1p5beta1/representations.rb

Overview

Service patterns used to allow access.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleIdentityAccesscontextmanagerV1ServicePattern

Returns a new instance of GoogleIdentityAccesscontextmanagerV1ServicePattern.



1882
1883
1884
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1882

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#modifiersArray<Google::Apis::CloudassetV1p5beta1::GoogleIdentityAccesscontextmanagerV1Modifier>

Modifiers to apply to the requests that match the URL pattern. Corresponds to the JSON property modifiers



1868
1869
1870
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1868

def modifiers
  @modifiers
end

#patternString

URL pattern to allow. Only patterns of ".googleapis.com/", "www.googleapis. com//" and ".appspot.com/ forms are supported, where should be alphanumerical name. Corresponds to the JSON property pattern

Returns:

  • (String)


1875
1876
1877
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1875

def pattern
  @pattern
end

#serviceString

Supported service to allow. Corresponds to the JSON property service

Returns:

  • (String)


1880
1881
1882
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1880

def service
  @service
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1887
1888
1889
1890
1891
# File 'lib/google/apis/cloudasset_v1p5beta1/classes.rb', line 1887

def update!(**args)
  @modifiers = args[:modifiers] if args.key?(:modifiers)
  @pattern = args[:pattern] if args.key?(:pattern)
  @service = args[:service] if args.key?(:service)
end