Skip to content

Commit

Permalink
feat: Automated regeneration of policytroubleshooter v1beta client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 4, 2020
1 parent e63bb02 commit 59f2db3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122748,6 +122748,7 @@
"/policytroubleshooter:v1beta/GoogleIamV1AuditLogConfig/exemptedMembers/exempted_member": exempted_member
"/policytroubleshooter:v1beta/GoogleIamV1AuditLogConfig/logType": log_type
"/policytroubleshooter:v1beta/GoogleIamV1Binding": google_iam_v1_binding
"/policytroubleshooter:v1beta/GoogleIamV1Binding/bindingId": binding_id
"/policytroubleshooter:v1beta/GoogleIamV1Binding/condition": condition
"/policytroubleshooter:v1beta/GoogleIamV1Binding/members": members
"/policytroubleshooter:v1beta/GoogleIamV1Binding/members/member": member
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/policytroubleshooter_v1beta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/iam/
module PolicytroubleshooterV1beta
VERSION = 'V1beta'
REVISION = '20200801'
REVISION = '20201031'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
6 changes: 6 additions & 0 deletions generated/google/apis/policytroubleshooter_v1beta/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,11 @@ def update!(**args)
class GoogleIamV1Binding
include Google::Apis::Core::Hashable

#
# Corresponds to the JSON property `bindingId`
# @return [String]
attr_accessor :binding_id

# Represents a textual expression in the Common Expression Language (CEL) syntax.
# CEL is a C-like expression language. The syntax and semantics of CEL are
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
Expand Down Expand Up @@ -449,6 +454,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@binding_id = args[:binding_id] if args.key?(:binding_id)
@condition = args[:condition] if args.key?(:condition)
@members = args[:members] if args.key?(:members)
@role = args[:role] if args.key?(:role)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class GoogleIamV1Binding
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :binding_id, as: 'bindingId'
property :condition, as: 'condition', class: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr, decorator: Google::Apis::PolicytroubleshooterV1beta::GoogleTypeExpr::Representation

collection :members, as: 'members'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "e63bb021e6b8fdd62ae1bbe0030f1af1853c860d"
}
}
]
Expand Down

0 comments on commit 59f2db3

Please sign in to comment.