google-apis-cloudasset_v1beta1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d643e3e5110b4fba69a5182e0b3673f341b139dfe47783050221652898e33e57
4
- data.tar.gz: 8ecc921328ba4000ef0e369894e064015e2b200004f0b01ce964ce586e66e62d
3
+ metadata.gz: fac8f9ebc356dc552f409583a06425eafdb41435792001057ab3c0096e05080d
4
+ data.tar.gz: 793025922af39e094155daa9200fb28dd735faa5068c4bf616e53d26d9ecb3d9
5
5
  SHA512:
6
- metadata.gz: 713954f1afe746078de80d1d0d76014df517b530389d78546cf4bb9d7bf939246357fd97ea2d2cf62dbbf06b4335e67de1ebaf786340abda6cd7c8d9124ecf0e
7
- data.tar.gz: f71f54198d03d750e0dd084f75f3d6f29f9c060ad2a226b273428434667f33e080a683b9ca6636e64548f62eeba12ec73c6479751ab2592fd060c09db4de8fb0
6
+ metadata.gz: 1e12a8569dc6fffec5e838d0a80c0244992a8a7f04461e2bf6395203d75086fa30540d39dd62e34cad3470ea32b04090a53a37837671f8cc090e675a43472fb9
7
+ data.tar.gz: b12eb0be879919645e6202fc180788398b022d6a35080aa8e8640cd808303cbeca6b81cd51a90c3c0f565065e345765ef0b527b3b3b0d0115b85af8b4a903418
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudasset_v1beta1
2
2
 
3
+ ### v0.2.0 (2021-03-04)
4
+
5
+ * Regenerated from discovery document revision 20210226
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -430,6 +430,326 @@ module Google
430
430
  end
431
431
  end
432
432
 
433
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
434
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
435
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
436
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
437
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
438
+ # asset-inventory/docs/supported-asset-types) for more information.
439
+ class GoogleCloudAssetV1p7beta1Asset
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # An `AccessLevel` is a label that can be applied to requests to Google Cloud
443
+ # services, along with a list of requirements necessary for the label to be
444
+ # applied.
445
+ # Corresponds to the JSON property `accessLevel`
446
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessLevel]
447
+ attr_accessor :access_level
448
+
449
+ # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
450
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
451
+ # regions of services able to freely pass data within a perimeter). An access
452
+ # policy is globally visible within an organization, and the restrictions it
453
+ # specifies apply to all projects within an organization.
454
+ # Corresponds to the JSON property `accessPolicy`
455
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
456
+ attr_accessor :access_policy
457
+
458
+ # The ancestry path of an asset in Google Cloud [resource hierarchy](https://
459
+ # cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
460
+ # represented as a list of relative resource names. An ancestry path starts with
461
+ # the closest ancestor in the hierarchy and ends at root. If the asset is a
462
+ # project, folder, or organization, the ancestry path starts from the asset
463
+ # itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
464
+ # Corresponds to the JSON property `ancestors`
465
+ # @return [Array<String>]
466
+ attr_accessor :ancestors
467
+
468
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
469
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
470
+ # types) for more information.
471
+ # Corresponds to the JSON property `assetType`
472
+ # @return [String]
473
+ attr_accessor :asset_type
474
+
475
+ # An Identity and Access Management (IAM) policy, which specifies access
476
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
477
+ # A `binding` binds one or more `members` to a single `role`. Members can be
478
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
479
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
480
+ # role or a user-created custom role. For some types of Google Cloud resources,
481
+ # a `binding` can also specify a `condition`, which is a logical expression that
482
+ # allows access to a resource only if the expression evaluates to `true`. A
483
+ # condition can add constraints based on attributes of the request, the resource,
484
+ # or both. To learn which resources support conditions in their IAM policies,
485
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
486
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
487
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
488
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
489
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
490
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
491
+ # title": "expirable access", "description": "Does not grant access after Sep
492
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
493
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
494
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
495
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
496
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
497
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
498
+ # description: Does not grant access after Sep 2020 expression: request.time <
499
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
500
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
501
+ # google.com/iam/docs/).
502
+ # Corresponds to the JSON property `iamPolicy`
503
+ # @return [Google::Apis::CloudassetV1beta1::Policy]
504
+ attr_accessor :iam_policy
505
+
506
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
507
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
508
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
509
+ # information.
510
+ # Corresponds to the JSON property `name`
511
+ # @return [String]
512
+ attr_accessor :name
513
+
514
+ # A representation of an [organization policy](https://cloud.google.com/resource-
515
+ # manager/docs/organization-policy/overview#organization_policy). There can be
516
+ # more than one organization policy with different constraints set on a given
517
+ # resource.
518
+ # Corresponds to the JSON property `orgPolicy`
519
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1Policy>]
520
+ attr_accessor :org_policy
521
+
522
+ # The detailed related assets with the `relationship_type`.
523
+ # Corresponds to the JSON property `relatedAssets`
524
+ # @return [Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelatedAssets]
525
+ attr_accessor :related_assets
526
+
527
+ # A representation of a Google Cloud resource.
528
+ # Corresponds to the JSON property `resource`
529
+ # @return [Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1Resource]
530
+ attr_accessor :resource
531
+
532
+ # `ServicePerimeter` describes a set of Google Cloud resources which can freely
533
+ # import and export data amongst themselves, but not export outside of the `
534
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
535
+ # has a target outside of the `ServicePerimeter`, the request will be blocked.
536
+ # Otherwise the request is allowed. There are two types of Service Perimeter -
537
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
538
+ # Cloud project can only belong to a single regular Service Perimeter. Service
539
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
540
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
541
+ # Corresponds to the JSON property `servicePerimeter`
542
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
543
+ attr_accessor :service_perimeter
544
+
545
+ # The last update timestamp of an asset. update_time is updated when create/
546
+ # update/delete operation is performed.
547
+ # Corresponds to the JSON property `updateTime`
548
+ # @return [String]
549
+ attr_accessor :update_time
550
+
551
+ def initialize(**args)
552
+ update!(**args)
553
+ end
554
+
555
+ # Update properties of this object
556
+ def update!(**args)
557
+ @access_level = args[:access_level] if args.key?(:access_level)
558
+ @access_policy = args[:access_policy] if args.key?(:access_policy)
559
+ @ancestors = args[:ancestors] if args.key?(:ancestors)
560
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
561
+ @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
562
+ @name = args[:name] if args.key?(:name)
563
+ @org_policy = args[:org_policy] if args.key?(:org_policy)
564
+ @related_assets = args[:related_assets] if args.key?(:related_assets)
565
+ @resource = args[:resource] if args.key?(:resource)
566
+ @service_perimeter = args[:service_perimeter] if args.key?(:service_perimeter)
567
+ @update_time = args[:update_time] if args.key?(:update_time)
568
+ end
569
+ end
570
+
571
+ # An asset identify in Google Cloud which contains its name, type and ancestors.
572
+ # An asset can be any resource in the Google Cloud [resource hierarchy](https://
573
+ # cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a
574
+ # resource outside the Google Cloud resource hierarchy (such as Google
575
+ # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
576
+ # See [Supported asset types](https://cloud.google.com/asset-inventory/docs/
577
+ # supported-asset-types) for more information.
578
+ class GoogleCloudAssetV1p7beta1RelatedAsset
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # The ancestors of an asset in Google Cloud [resource hierarchy](https://cloud.
582
+ # google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
583
+ # represented as a list of relative resource names. An ancestry path starts with
584
+ # the closest ancestor in the hierarchy and ends at root. Example: `["projects/
585
+ # 123456789", "folders/5432", "organizations/1234"]`
586
+ # Corresponds to the JSON property `ancestors`
587
+ # @return [Array<String>]
588
+ attr_accessor :ancestors
589
+
590
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
591
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
592
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
593
+ # information.
594
+ # Corresponds to the JSON property `asset`
595
+ # @return [String]
596
+ attr_accessor :asset
597
+
598
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
599
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
600
+ # types) for more information.
601
+ # Corresponds to the JSON property `assetType`
602
+ # @return [String]
603
+ attr_accessor :asset_type
604
+
605
+ def initialize(**args)
606
+ update!(**args)
607
+ end
608
+
609
+ # Update properties of this object
610
+ def update!(**args)
611
+ @ancestors = args[:ancestors] if args.key?(:ancestors)
612
+ @asset = args[:asset] if args.key?(:asset)
613
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
614
+ end
615
+ end
616
+
617
+ # The detailed related assets with the `relationship_type`.
618
+ class GoogleCloudAssetV1p7beta1RelatedAssets
619
+ include Google::Apis::Core::Hashable
620
+
621
+ # The peer resources of the relationship.
622
+ # Corresponds to the JSON property `assets`
623
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelatedAsset>]
624
+ attr_accessor :assets
625
+
626
+ # The relationship attributes which include `type`, `source_resource_type`, `
627
+ # target_resource_type` and `action`.
628
+ # Corresponds to the JSON property `relationshipAttributes`
629
+ # @return [Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelationshipAttributes]
630
+ attr_accessor :relationship_attributes
631
+
632
+ def initialize(**args)
633
+ update!(**args)
634
+ end
635
+
636
+ # Update properties of this object
637
+ def update!(**args)
638
+ @assets = args[:assets] if args.key?(:assets)
639
+ @relationship_attributes = args[:relationship_attributes] if args.key?(:relationship_attributes)
640
+ end
641
+ end
642
+
643
+ # The relationship attributes which include `type`, `source_resource_type`, `
644
+ # target_resource_type` and `action`.
645
+ class GoogleCloudAssetV1p7beta1RelationshipAttributes
646
+ include Google::Apis::Core::Hashable
647
+
648
+ # The detail of the relationship, e.g. `contains`, `attaches`
649
+ # Corresponds to the JSON property `action`
650
+ # @return [String]
651
+ attr_accessor :action
652
+
653
+ # The source asset type. Example: `compute.googleapis.com/Instance`
654
+ # Corresponds to the JSON property `sourceResourceType`
655
+ # @return [String]
656
+ attr_accessor :source_resource_type
657
+
658
+ # The target asset type. Example: `compute.googleapis.com/Disk`
659
+ # Corresponds to the JSON property `targetResourceType`
660
+ # @return [String]
661
+ attr_accessor :target_resource_type
662
+
663
+ # The unique identifier of the relationship type. Example: `
664
+ # INSTANCE_TO_INSTANCEGROUP`
665
+ # Corresponds to the JSON property `type`
666
+ # @return [String]
667
+ attr_accessor :type
668
+
669
+ def initialize(**args)
670
+ update!(**args)
671
+ end
672
+
673
+ # Update properties of this object
674
+ def update!(**args)
675
+ @action = args[:action] if args.key?(:action)
676
+ @source_resource_type = args[:source_resource_type] if args.key?(:source_resource_type)
677
+ @target_resource_type = args[:target_resource_type] if args.key?(:target_resource_type)
678
+ @type = args[:type] if args.key?(:type)
679
+ end
680
+ end
681
+
682
+ # A representation of a Google Cloud resource.
683
+ class GoogleCloudAssetV1p7beta1Resource
684
+ include Google::Apis::Core::Hashable
685
+
686
+ # The content of the resource, in which some sensitive fields are removed and
687
+ # may not be present.
688
+ # Corresponds to the JSON property `data`
689
+ # @return [Hash<String,Object>]
690
+ attr_accessor :data
691
+
692
+ # The URL of the discovery document containing the resource's JSON schema.
693
+ # Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
694
+ # value is unspecified for resources that do not have an API based on a
695
+ # discovery document, such as Cloud Bigtable.
696
+ # Corresponds to the JSON property `discoveryDocumentUri`
697
+ # @return [String]
698
+ attr_accessor :discovery_document_uri
699
+
700
+ # The JSON schema name listed in the discovery document. Example: `Project` This
701
+ # value is unspecified for resources that do not have an API based on a
702
+ # discovery document, such as Cloud Bigtable.
703
+ # Corresponds to the JSON property `discoveryName`
704
+ # @return [String]
705
+ attr_accessor :discovery_name
706
+
707
+ # The location of the resource in Google Cloud, such as its zone and region. For
708
+ # more information, see https://cloud.google.com/about/locations/.
709
+ # Corresponds to the JSON property `location`
710
+ # @return [String]
711
+ attr_accessor :location
712
+
713
+ # The full name of the immediate parent of this resource. See [Resource Names](
714
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name) for
715
+ # more information. For Google Cloud assets, this value is the parent resource
716
+ # defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
717
+ # overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
718
+ # projects/my_project_123` For third-party assets, this field may be set
719
+ # differently.
720
+ # Corresponds to the JSON property `parent`
721
+ # @return [String]
722
+ attr_accessor :parent
723
+
724
+ # The REST URL for accessing the resource. An HTTP `GET` request using this URL
725
+ # returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
726
+ # com/v1/projects/my-project-123` This value is unspecified for resources
727
+ # without a REST API.
728
+ # Corresponds to the JSON property `resourceUrl`
729
+ # @return [String]
730
+ attr_accessor :resource_url
731
+
732
+ # The API version. Example: `v1`
733
+ # Corresponds to the JSON property `version`
734
+ # @return [String]
735
+ attr_accessor :version
736
+
737
+ def initialize(**args)
738
+ update!(**args)
739
+ end
740
+
741
+ # Update properties of this object
742
+ def update!(**args)
743
+ @data = args[:data] if args.key?(:data)
744
+ @discovery_document_uri = args[:discovery_document_uri] if args.key?(:discovery_document_uri)
745
+ @discovery_name = args[:discovery_name] if args.key?(:discovery_name)
746
+ @location = args[:location] if args.key?(:location)
747
+ @parent = args[:parent] if args.key?(:parent)
748
+ @resource_url = args[:resource_url] if args.key?(:resource_url)
749
+ @version = args[:version] if args.key?(:version)
750
+ end
751
+ end
752
+
433
753
  # Used in `policy_type` to specify how `boolean_policy` will behave at this
434
754
  # resource.
435
755
  class GoogleCloudOrgpolicyV1BooleanPolicy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1beta1
18
18
  # Version of the google-apis-cloudasset_v1beta1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201211"
25
+ REVISION = "20210226"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,36 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogleCloudAssetV1p7beta1Asset
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudAssetV1p7beta1RelatedAsset
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudAssetV1p7beta1RelatedAssets
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudAssetV1p7beta1RelationshipAttributes
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudAssetV1p7beta1Resource
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
73
103
  class GoogleCloudOrgpolicyV1BooleanPolicy
74
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
105
 
@@ -334,6 +364,72 @@ module Google
334
364
  end
335
365
  end
336
366
 
367
+ class GoogleCloudAssetV1p7beta1Asset
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ property :access_level, as: 'accessLevel', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessLevel, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessLevel::Representation
371
+
372
+ property :access_policy, as: 'accessPolicy', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy::Representation
373
+
374
+ collection :ancestors, as: 'ancestors'
375
+ property :asset_type, as: 'assetType'
376
+ property :iam_policy, as: 'iamPolicy', class: Google::Apis::CloudassetV1beta1::Policy, decorator: Google::Apis::CloudassetV1beta1::Policy::Representation
377
+
378
+ property :name, as: 'name'
379
+ collection :org_policy, as: 'orgPolicy', class: Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1Policy, decorator: Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1Policy::Representation
380
+
381
+ property :related_assets, as: 'relatedAssets', class: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelatedAssets, decorator: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelatedAssets::Representation
382
+
383
+ property :resource, as: 'resource', class: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1Resource, decorator: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1Resource::Representation
384
+
385
+ property :service_perimeter, as: 'servicePerimeter', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter::Representation
386
+
387
+ property :update_time, as: 'updateTime'
388
+ end
389
+ end
390
+
391
+ class GoogleCloudAssetV1p7beta1RelatedAsset
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ collection :ancestors, as: 'ancestors'
395
+ property :asset, as: 'asset'
396
+ property :asset_type, as: 'assetType'
397
+ end
398
+ end
399
+
400
+ class GoogleCloudAssetV1p7beta1RelatedAssets
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ collection :assets, as: 'assets', class: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelatedAsset, decorator: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelatedAsset::Representation
404
+
405
+ property :relationship_attributes, as: 'relationshipAttributes', class: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelationshipAttributes, decorator: Google::Apis::CloudassetV1beta1::GoogleCloudAssetV1p7beta1RelationshipAttributes::Representation
406
+
407
+ end
408
+ end
409
+
410
+ class GoogleCloudAssetV1p7beta1RelationshipAttributes
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :action, as: 'action'
414
+ property :source_resource_type, as: 'sourceResourceType'
415
+ property :target_resource_type, as: 'targetResourceType'
416
+ property :type, as: 'type'
417
+ end
418
+ end
419
+
420
+ class GoogleCloudAssetV1p7beta1Resource
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ hash :data, as: 'data'
424
+ property :discovery_document_uri, as: 'discoveryDocumentUri'
425
+ property :discovery_name, as: 'discoveryName'
426
+ property :location, as: 'location'
427
+ property :parent, as: 'parent'
428
+ property :resource_url, as: 'resourceUrl'
429
+ property :version, as: 'version'
430
+ end
431
+ end
432
+
337
433
  class GoogleCloudOrgpolicyV1BooleanPolicy
338
434
  # @private
339
435
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-08 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-cloudasset_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Asset API V1beta1