Skip to content

Commit 60ff30a

Browse files
feat: Automated regeneration of analyticshub v1beta1 client (#13333)
Auto-created at 2023-01-22 10:37:43 +0000 using the toys pull request generator.
1 parent 5676fea commit 60ff30a

File tree

5 files changed

+64
-3
lines changed

5 files changed

+64
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9665,6 +9665,7 @@
96659665
"/analyticshub:v1beta1/Listing/primaryContact": primary_contact
96669666
"/analyticshub:v1beta1/Listing/publisher": publisher
96679667
"/analyticshub:v1beta1/Listing/requestAccess": request_access
9668+
"/analyticshub:v1beta1/Listing/restrictedExportConfig": restricted_export_config
96689669
"/analyticshub:v1beta1/Listing/state": state
96699670
"/analyticshub:v1beta1/Location": location
96709671
"/analyticshub:v1beta1/Location/displayName": display_name
@@ -9692,6 +9693,9 @@
96929693
"/analyticshub:v1beta1/Publisher": publisher
96939694
"/analyticshub:v1beta1/Publisher/name": name
96949695
"/analyticshub:v1beta1/Publisher/primaryContact": primary_contact
9696+
"/analyticshub:v1beta1/RestrictedExportConfig": restricted_export_config
9697+
"/analyticshub:v1beta1/RestrictedExportConfig/restrictDirectTableAccess": restrict_direct_table_access
9698+
"/analyticshub:v1beta1/RestrictedExportConfig/restrictQueryResult": restrict_query_result
96959699
"/analyticshub:v1beta1/SetIamPolicyRequest": set_iam_policy_request
96969700
"/analyticshub:v1beta1/SetIamPolicyRequest/policy": policy
96979701
"/analyticshub:v1beta1/SetIamPolicyRequest/updateMask": update_mask

generated/google-apis-analyticshub_v1beta1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-analyticshub_v1beta1
22

3+
### v0.13.0 (2023-01-22)
4+
5+
* Regenerated from discovery document revision 20230116
6+
* Regenerated using generator version 0.11.1
7+
38
### v0.12.0 (2022-10-19)
49

510
* Regenerated using generator version 0.11.0

generated/google-apis-analyticshub_v1beta1/lib/google/apis/analyticshub_v1beta1/classes.rb

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,12 @@ class Listing
635635
# @return [String]
636636
attr_accessor :request_access
637637

638+
# Restricted export config, used to configure restricted export on linked
639+
# dataset.
640+
# Corresponds to the JSON property `restrictedExportConfig`
641+
# @return [Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig]
642+
attr_accessor :restricted_export_config
643+
638644
# Output only. Current state of the listing.
639645
# Corresponds to the JSON property `state`
640646
# @return [String]
@@ -657,6 +663,7 @@ def update!(**args)
657663
@primary_contact = args[:primary_contact] if args.key?(:primary_contact)
658664
@publisher = args[:publisher] if args.key?(:publisher)
659665
@request_access = args[:request_access] if args.key?(:request_access)
666+
@restricted_export_config = args[:restricted_export_config] if args.key?(:restricted_export_config)
660667
@state = args[:state] if args.key?(:state)
661668
end
662669
end
@@ -840,6 +847,35 @@ def update!(**args)
840847
end
841848
end
842849

850+
# Restricted export config, used to configure restricted export on linked
851+
# dataset.
852+
class RestrictedExportConfig
853+
include Google::Apis::Core::Hashable
854+
855+
# If true, restrict direct table access(read api/tabledata.list) on linked table.
856+
# Corresponds to the JSON property `restrictDirectTableAccess`
857+
# @return [Boolean]
858+
attr_accessor :restrict_direct_table_access
859+
alias_method :restrict_direct_table_access?, :restrict_direct_table_access
860+
861+
# If true, restrict export of query result derived from restricted linked
862+
# dataset table.
863+
# Corresponds to the JSON property `restrictQueryResult`
864+
# @return [Boolean]
865+
attr_accessor :restrict_query_result
866+
alias_method :restrict_query_result?, :restrict_query_result
867+
868+
def initialize(**args)
869+
update!(**args)
870+
end
871+
872+
# Update properties of this object
873+
def update!(**args)
874+
@restrict_direct_table_access = args[:restrict_direct_table_access] if args.key?(:restrict_direct_table_access)
875+
@restrict_query_result = args[:restrict_query_result] if args.key?(:restrict_query_result)
876+
end
877+
end
878+
843879
# Request message for `SetIamPolicy` method.
844880
class SetIamPolicyRequest
845881
include Google::Apis::Core::Hashable

generated/google-apis-analyticshub_v1beta1/lib/google/apis/analyticshub_v1beta1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AnalyticshubV1beta1
1818
# Version of the google-apis-analyticshub_v1beta1 gem
19-
GEM_VERSION = "0.12.0"
19+
GEM_VERSION = "0.13.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.11.0"
22+
GENERATOR_VERSION = "0.11.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20220909"
25+
REVISION = "20230116"
2626
end
2727
end
2828
end

generated/google-apis-analyticshub_v1beta1/lib/google/apis/analyticshub_v1beta1/representations.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
136136
include Google::Apis::Core::JsonObjectSupport
137137
end
138138

139+
class RestrictedExportConfig
140+
class Representation < Google::Apis::Core::JsonRepresentation; end
141+
142+
include Google::Apis::Core::JsonObjectSupport
143+
end
144+
139145
class SetIamPolicyRequest
140146
class Representation < Google::Apis::Core::JsonRepresentation; end
141147

@@ -316,6 +322,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
316322
property :publisher, as: 'publisher', class: Google::Apis::AnalyticshubV1beta1::Publisher, decorator: Google::Apis::AnalyticshubV1beta1::Publisher::Representation
317323

318324
property :request_access, as: 'requestAccess'
325+
property :restricted_export_config, as: 'restrictedExportConfig', class: Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig, decorator: Google::Apis::AnalyticshubV1beta1::RestrictedExportConfig::Representation
326+
319327
property :state, as: 'state'
320328
end
321329
end
@@ -353,6 +361,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
353361
end
354362
end
355363

364+
class RestrictedExportConfig
365+
# @private
366+
class Representation < Google::Apis::Core::JsonRepresentation
367+
property :restrict_direct_table_access, as: 'restrictDirectTableAccess'
368+
property :restrict_query_result, as: 'restrictQueryResult'
369+
end
370+
end
371+
356372
class SetIamPolicyRequest
357373
# @private
358374
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)